Class WebGLRenderingContext

java.lang.Object
org.htmlunit.corejs.javascript.ScriptableObject
org.htmlunit.javascript.HtmlUnitScriptable
org.htmlunit.javascript.host.canvas.WebGLRenderingContext
All Implemented Interfaces:
Serializable, Cloneable, org.htmlunit.corejs.javascript.ConstProperties, org.htmlunit.corejs.javascript.debug.DebuggableObject, org.htmlunit.corejs.javascript.Scriptable, org.htmlunit.corejs.javascript.SymbolScriptable

public class WebGLRenderingContext extends HtmlUnitScriptable
A JavaScript object for WebGLRenderingContext.
See Also:
  • Field Details

    • DEPTH_BUFFER_BIT

      public static final int DEPTH_BUFFER_BIT
      The constant DEPTH_BUFFER_BIT.
      See Also:
    • STENCIL_BUFFER_BIT

      public static final int STENCIL_BUFFER_BIT
      The constant STENCIL_BUFFER_BIT.
      See Also:
    • COLOR_BUFFER_BIT

      public static final int COLOR_BUFFER_BIT
      The constant COLOR_BUFFER_BIT.
      See Also:
    • POINTS

      public static final int POINTS
      The constant POINTS.
      See Also:
    • LINES

      public static final int LINES
      The constant LINES.
      See Also:
    • LINE_LOOP

      public static final int LINE_LOOP
      The constant LINE_LOOP.
      See Also:
    • LINE_STRIP

      public static final int LINE_STRIP
      The constant LINE_STRIP.
      See Also:
    • TRIANGLES

      public static final int TRIANGLES
      The constant TRIANGLES.
      See Also:
    • TRIANGLE_STRIP

      public static final int TRIANGLE_STRIP
      The constant TRIANGLE_STRIP.
      See Also:
    • TRIANGLE_FAN

      public static final int TRIANGLE_FAN
      The constant TRIANGLE_FAN.
      See Also:
    • ZERO

      public static final int ZERO
      The constant ZERO.
      See Also:
    • ONE

      public static final int ONE
      The constant ONE.
      See Also:
    • SRC_COLOR

      public static final int SRC_COLOR
      The constant SRC_COLOR.
      See Also:
    • ONE_MINUS_SRC_COLOR

      public static final int ONE_MINUS_SRC_COLOR
      The constant ONE_MINUS_SRC_COLOR.
      See Also:
    • SRC_ALPHA

      public static final int SRC_ALPHA
      The constant SRC_ALPHA.
      See Also:
    • ONE_MINUS_SRC_ALPHA

      public static final int ONE_MINUS_SRC_ALPHA
      The constant ONE_MINUS_SRC_ALPHA.
      See Also:
    • DST_ALPHA

      public static final int DST_ALPHA
      The constant DST_ALPHA.
      See Also:
    • ONE_MINUS_DST_ALPHA

      public static final int ONE_MINUS_DST_ALPHA
      The constant ONE_MINUS_DST_ALPHA.
      See Also:
    • DST_COLOR

      public static final int DST_COLOR
      The constant DST_COLOR.
      See Also:
    • ONE_MINUS_DST_COLOR

      public static final int ONE_MINUS_DST_COLOR
      The constant ONE_MINUS_DST_COLOR.
      See Also:
    • SRC_ALPHA_SATURATE

      public static final int SRC_ALPHA_SATURATE
      The constant SRC_ALPHA_SATURATE.
      See Also:
    • CONSTANT_COLOR

      public static final int CONSTANT_COLOR
      The constant CONSTANT_COLOR.
      See Also:
    • ONE_MINUS_CONSTANT_COLOR

      public static final int ONE_MINUS_CONSTANT_COLOR
      The constant ONE_MINUS_CONSTANT_COLOR.
      See Also:
    • CONSTANT_ALPHA

      public static final int CONSTANT_ALPHA
      The constant CONSTANT_ALPHA.
      See Also:
    • ONE_MINUS_CONSTANT_ALPHA

      public static final int ONE_MINUS_CONSTANT_ALPHA
      The constant ONE_MINUS_CONSTANT_ALPHA.
      See Also:
    • FUNC_ADD

      public static final int FUNC_ADD
      The constant FUNC_ADD.
      See Also:
    • FUNC_REVERSE_SUBTRACT

      public static final int FUNC_REVERSE_SUBTRACT
      The constant FUNC_REVERSE_SUBTRACT.
      See Also:
    • BLEND_EQUATION

      public static final int BLEND_EQUATION
      The constant BLEND_EQUATION.
      See Also:
    • BLEND_EQUATION_RGB

      public static final int BLEND_EQUATION_RGB
      The constant BLEND_EQUATION_RGB.
      See Also:
    • BLEND_EQUATION_ALPHA

      public static final int BLEND_EQUATION_ALPHA
      The constant BLEND_EQUATION_ALPHA.
      See Also:
    • BLEND_DST_RGB

      public static final int BLEND_DST_RGB
      The constant BLEND_DST_RGB.
      See Also:
    • NO_ERROR

      public static final int NO_ERROR
      The constant NO_ERROR.
      See Also:
    • NONE

      public static final int NONE
      The constant NONE.
      See Also:
    • NEVER

      public static final int NEVER
      The constant NEVER.
      See Also:
    • LESS

      public static final int LESS
      The constant LESS.
      See Also:
    • EQUAL

      public static final int EQUAL
      The constant EQUAL.
      See Also:
    • LEQUAL

      public static final int LEQUAL
      The constant LEQUAL.
      See Also:
    • GREATER

      public static final int GREATER
      The constant GREATER.
      See Also:
    • NOTEQUAL

      public static final int NOTEQUAL
      The constant NOTEQUAL.
      See Also:
    • GEQUAL

      public static final int GEQUAL
      The constant GEQUAL.
      See Also:
    • ALWAYS

      public static final int ALWAYS
      The constant ALWAYS.
      See Also:
    • FRONT

      public static final int FRONT
      The constant FRONT.
      See Also:
    • BACK

      public static final int BACK
      The constant BACK.
      See Also:
    • FRONT_AND_BACK

      public static final int FRONT_AND_BACK
      The constant FRONT_AND_BACK.
      See Also:
    • INVALID_ENUM

      public static final int INVALID_ENUM
      The constant INVALID_ENUM.
      See Also:
    • INVALID_VALUE

      public static final int INVALID_VALUE
      The constant INVALID_VALUE.
      See Also:
    • INVALID_OPERATION

      public static final int INVALID_OPERATION
      The constant INVALID_OPERATION.
      See Also:
    • OUT_OF_MEMORY

      public static final int OUT_OF_MEMORY
      The constant OUT_OF_MEMORY.
      See Also:
    • INVALID_FRAMEBUFFER_OPERATION

      public static final int INVALID_FRAMEBUFFER_OPERATION
      The constant INVALID_FRAMEBUFFER_OPERATION.
      See Also:
    • CW

      public static final int CW
      The constant CW.
      See Also:
    • CCW

      public static final int CCW
      The constant CCW.
      See Also:
    • LINE_WIDTH

      public static final int LINE_WIDTH
      The constant LINE_WIDTH.
      See Also:
    • CULL_FACE

      public static final int CULL_FACE
      The constant CULL_FACE.
      See Also:
    • CULL_FACE_MODE

      public static final int CULL_FACE_MODE
      The constant CULL_FACE_MODE.
      See Also:
    • FRONT_FACE

      public static final int FRONT_FACE
      The constant FRONT_FACE.
      See Also:
    • DEPTH_RANGE

      public static final int DEPTH_RANGE
      The constant DEPTH_RANGE.
      See Also:
    • DEPTH_TEST

      public static final int DEPTH_TEST
      The constant DEPTH_TEST.
      See Also:
    • DEPTH_WRITEMASK

      public static final int DEPTH_WRITEMASK
      The constant DEPTH_WRITEMASK.
      See Also:
    • DEPTH_CLEAR_VALUE

      public static final int DEPTH_CLEAR_VALUE
      The constant DEPTH_CLEAR_VALUE.
      See Also:
    • DEPTH_FUNC

      public static final int DEPTH_FUNC
      The constant DEPTH_FUNC.
      See Also:
    • STENCIL_TEST

      public static final int STENCIL_TEST
      The constant STENCIL_TEST.
      See Also:
    • STENCIL_CLEAR_VALUE

      public static final int STENCIL_CLEAR_VALUE
      The constant STENCIL_CLEAR_VALUE.
      See Also:
    • STENCIL_FUNC

      public static final int STENCIL_FUNC
      The constant STENCIL_FUNC.
      See Also:
    • STENCIL_VALUE_MASK

      public static final int STENCIL_VALUE_MASK
      The constant STENCIL_VALUE_MASK.
      See Also:
    • STENCIL_FAIL

      public static final int STENCIL_FAIL
      The constant STENCIL_FAIL.
      See Also:
    • STENCIL_PASS_DEPTH_FAIL

      public static final int STENCIL_PASS_DEPTH_FAIL
      The constant STENCIL_PASS_DEPTH_FAIL.
      See Also:
    • STENCIL_PASS_DEPTH_PASS

      public static final int STENCIL_PASS_DEPTH_PASS
      The constant STENCIL_PASS_DEPTH_PASS.
      See Also:
    • STENCIL_REF

      public static final int STENCIL_REF
      The constant STENCIL_REF.
      See Also:
    • STENCIL_WRITEMASK

      public static final int STENCIL_WRITEMASK
      The constant STENCIL_WRITEMASK.
      See Also:
    • VIEWPORT

      public static final int VIEWPORT
      The constant VIEWPORT.
      See Also:
    • DITHER

      public static final int DITHER
      The constant DITHER.
      See Also:
    • BLEND

      public static final int BLEND
      The constant BLEND.
      See Also:
    • SCISSOR_BOX

      public static final int SCISSOR_BOX
      The constant SCISSOR_BOX.
      See Also:
    • SCISSOR_TEST

      public static final int SCISSOR_TEST
      The constant SCISSOR_TEST.
      See Also:
    • COLOR_CLEAR_VALUE

      public static final int COLOR_CLEAR_VALUE
      The constant COLOR_CLEAR_VALUE.
      See Also:
    • COLOR_WRITEMASK

      public static final int COLOR_WRITEMASK
      The constant COLOR_WRITEMASK.
      See Also:
    • UNPACK_ALIGNMENT

      public static final int UNPACK_ALIGNMENT
      The constant UNPACK_ALIGNMENT.
      See Also:
    • PACK_ALIGNMENT

      public static final int PACK_ALIGNMENT
      The constant PACK_ALIGNMENT.
      See Also:
    • MAX_TEXTURE_SIZE

      public static final int MAX_TEXTURE_SIZE
      The constant MAX_TEXTURE_SIZE.
      See Also:
    • MAX_VIEWPORT_DIMS

      public static final int MAX_VIEWPORT_DIMS
      The constant MAX_VIEWPORT_DIMS.
      See Also:
    • SUBPIXEL_BITS

      public static final int SUBPIXEL_BITS
      The constant SUBPIXEL_BITS.
      See Also:
    • RED_BITS

      public static final int RED_BITS
      The constant RED_BITS.
      See Also:
    • GREEN_BITS

      public static final int GREEN_BITS
      The constant GREEN_BITS.
      See Also:
    • BLUE_BITS

      public static final int BLUE_BITS
      The constant BLUE_BITS.
      See Also:
    • ALPHA_BITS

      public static final int ALPHA_BITS
      The constant ALPHA_BITS.
      See Also:
    • DEPTH_BITS

      public static final int DEPTH_BITS
      The constant DEPTH_BITS.
      See Also:
    • STENCIL_BITS

      public static final int STENCIL_BITS
      The constant STENCIL_BITS.
      See Also:
    • TEXTURE_2D

      public static final int TEXTURE_2D
      The constant TEXTURE_2D.
      See Also:
    • DONT_CARE

      public static final int DONT_CARE
      The constant DONT_CARE.
      See Also:
    • FASTEST

      public static final int FASTEST
      The constant FASTEST.
      See Also:
    • NICEST

      public static final int NICEST
      The constant NICEST.
      See Also:
    • BYTE

      public static final int BYTE
      The constant BYTE.
      See Also:
    • UNSIGNED_BYTE

      public static final int UNSIGNED_BYTE
      The constant UNSIGNED_BYTE.
      See Also:
    • SHORT

      public static final int SHORT
      The constant SHORT.
      See Also:
    • UNSIGNED_SHORT

      public static final int UNSIGNED_SHORT
      The constant UNSIGNED_SHORT.
      See Also:
    • INT

      public static final int INT
      The constant INT.
      See Also:
    • UNSIGNED_INT

      public static final int UNSIGNED_INT
      The constant UNSIGNED_INT.
      See Also:
    • FLOAT

      public static final int FLOAT
      The constant FLOAT.
      See Also:
    • INVERT

      public static final int INVERT
      The constant INVERT.
      See Also:
    • TEXTURE

      public static final int TEXTURE
      The constant TEXTURE.
      See Also:
    • DEPTH_COMPONENT

      public static final int DEPTH_COMPONENT
      The constant DEPTH_COMPONENT.
      See Also:
    • ALPHA

      public static final int ALPHA
      The constant ALPHA.
      See Also:
    • RGB

      public static final int RGB
      The constant RGB.
      See Also:
    • RGBA

      public static final int RGBA
      The constant RGBA.
      See Also:
    • LUMINANCE

      public static final int LUMINANCE
      The constant LUMINANCE.
      See Also:
    • LUMINANCE_ALPHA

      public static final int LUMINANCE_ALPHA
      The constant LUMINANCE_ALPHA.
      See Also:
    • KEEP

      public static final int KEEP
      The constant KEEP.
      See Also:
    • REPLACE

      public static final int REPLACE
      The constant REPLACE.
      See Also:
    • INCR

      public static final int INCR
      The constant INCR.
      See Also:
    • DECR

      public static final int DECR
      The constant DECR.
      See Also:
    • VENDOR

      public static final int VENDOR
      The constant VENDOR.
      See Also:
    • RENDERER

      public static final int RENDERER
      The constant RENDERER.
      See Also:
    • VERSION

      public static final int VERSION
      The constant VERSION.
      See Also:
    • NEAREST

      public static final int NEAREST
      The constant NEAREST.
      See Also:
    • LINEAR

      public static final int LINEAR
      The constant LINEAR.
      See Also:
    • NEAREST_MIPMAP_NEAREST

      public static final int NEAREST_MIPMAP_NEAREST
      The constant NEAREST_MIPMAP_NEAREST.
      See Also:
    • LINEAR_MIPMAP_NEAREST

      public static final int LINEAR_MIPMAP_NEAREST
      The constant LINEAR_MIPMAP_NEAREST.
      See Also:
    • NEAREST_MIPMAP_LINEAR

      public static final int NEAREST_MIPMAP_LINEAR
      The constant NEAREST_MIPMAP_LINEAR.
      See Also:
    • LINEAR_MIPMAP_LINEAR

      public static final int LINEAR_MIPMAP_LINEAR
      The constant LINEAR_MIPMAP_LINEAR.
      See Also:
    • TEXTURE_MAG_FILTER

      public static final int TEXTURE_MAG_FILTER
      The constant TEXTURE_MAG_FILTER.
      See Also:
    • TEXTURE_MIN_FILTER

      public static final int TEXTURE_MIN_FILTER
      The constant TEXTURE_MIN_FILTER.
      See Also:
    • TEXTURE_WRAP_S

      public static final int TEXTURE_WRAP_S
      The constant TEXTURE_WRAP_S.
      See Also:
    • TEXTURE_WRAP_T

      public static final int TEXTURE_WRAP_T
      The constant TEXTURE_WRAP_T.
      See Also:
    • REPEAT

      public static final int REPEAT
      The constant REPEAT.
      See Also:
    • POLYGON_OFFSET_UNITS

      public static final int POLYGON_OFFSET_UNITS
      The constant POLYGON_OFFSET_UNITS.
      See Also:
    • BLEND_COLOR

      public static final int BLEND_COLOR
      The constant BLEND_COLOR.
      See Also:
    • FUNC_SUBTRACT

      public static final int FUNC_SUBTRACT
      The constant FUNC_SUBTRACT.
      See Also:
    • UNSIGNED_SHORT_4_4_4_4

      public static final int UNSIGNED_SHORT_4_4_4_4
      The constant UNSIGNED_SHORT_4_4_4_4.
      See Also:
    • UNSIGNED_SHORT_5_5_5_1

      public static final int UNSIGNED_SHORT_5_5_5_1
      The constant UNSIGNED_SHORT_5_5_5_1.
      See Also:
    • POLYGON_OFFSET_FILL

      public static final int POLYGON_OFFSET_FILL
      The constant POLYGON_OFFSET_FILL.
      See Also:
    • POLYGON_OFFSET_FACTOR

      public static final int POLYGON_OFFSET_FACTOR
      The constant POLYGON_OFFSET_FACTOR.
      See Also:
    • RGBA4

      public static final int RGBA4
      The constant RGBA4.
      See Also:
    • RGB8

      public static final int RGB8
      The constant RGB8.
      See Also:
    • RGB5_A1

      public static final int RGB5_A1
      The constant RGB5_A1.
      See Also:
    • RGBA8

      public static final int RGBA8
      The constant RGBA8.
      See Also:
    • TEXTURE_BINDING_2D

      public static final int TEXTURE_BINDING_2D
      The constant TEXTURE_BINDING_2D.
      See Also:
    • SAMPLE_ALPHA_TO_COVERAGE

      public static final int SAMPLE_ALPHA_TO_COVERAGE
      The constant SAMPLE_ALPHA_TO_COVERAGE.
      See Also:
    • SAMPLE_COVERAGE

      public static final int SAMPLE_COVERAGE
      The constant SAMPLE_COVERAGE.
      See Also:
    • SAMPLE_BUFFERS

      public static final int SAMPLE_BUFFERS
      The constant SAMPLE_BUFFERS.
      See Also:
    • SAMPLES

      public static final int SAMPLES
      The constant SAMPLES.
      See Also:
    • SAMPLE_COVERAGE_VALUE

      public static final int SAMPLE_COVERAGE_VALUE
      The constant SAMPLE_COVERAGE_VALUE.
      See Also:
    • SAMPLE_COVERAGE_INVERT

      public static final int SAMPLE_COVERAGE_INVERT
      The constant SAMPLE_COVERAGE_INVERT.
      See Also:
    • BLEND_SRC_RGB

      public static final int BLEND_SRC_RGB
      The constant BLEND_SRC_RGB.
      See Also:
    • BLEND_DST_ALPHA

      public static final int BLEND_DST_ALPHA
      The constant BLEND_DST_ALPHA.
      See Also:
    • BLEND_SRC_ALPHA

      public static final int BLEND_SRC_ALPHA
      The constant BLEND_SRC_ALPHA.
      See Also:
    • CLAMP_TO_EDGE

      public static final int CLAMP_TO_EDGE
      The constant CLAMP_TO_EDGE.
      See Also:
    • GENERATE_MIPMAP_HINT

      public static final int GENERATE_MIPMAP_HINT
      The constant GENERATE_MIPMAP_HINT.
      See Also:
    • DEPTH_COMPONENT16

      public static final int DEPTH_COMPONENT16
      The constant DEPTH_COMPONENT16.
      See Also:
    • DEPTH_STENCIL_ATTACHMENT

      public static final int DEPTH_STENCIL_ATTACHMENT
      The constant DEPTH_STENCIL_ATTACHMENT.
      See Also:
    • UNSIGNED_SHORT_5_6_5

      public static final int UNSIGNED_SHORT_5_6_5
      The constant UNSIGNED_SHORT_5_6_5.
      See Also:
    • MIRRORED_REPEAT

      public static final int MIRRORED_REPEAT
      The constant MIRRORED_REPEAT.
      See Also:
    • ALIASED_POINT_SIZE_RANGE

      public static final int ALIASED_POINT_SIZE_RANGE
      The constant ALIASED_POINT_SIZE_RANGE.
      See Also:
    • ALIASED_LINE_WIDTH_RANGE

      public static final int ALIASED_LINE_WIDTH_RANGE
      The constant ALIASED_LINE_WIDTH_RANGE.
      See Also:
    • TEXTURE0

      public static final int TEXTURE0
      The constant TEXTURE0.
      See Also:
    • TEXTURE1

      public static final int TEXTURE1
      The constant TEXTURE1.
      See Also:
    • TEXTURE2

      public static final int TEXTURE2
      The constant TEXTURE2.
      See Also:
    • TEXTURE3

      public static final int TEXTURE3
      The constant TEXTURE3.
      See Also:
    • TEXTURE4

      public static final int TEXTURE4
      The constant TEXTURE4.
      See Also:
    • TEXTURE5

      public static final int TEXTURE5
      The constant TEXTURE5.
      See Also:
    • TEXTURE6

      public static final int TEXTURE6
      The constant TEXTURE6.
      See Also:
    • TEXTURE7

      public static final int TEXTURE7
      The constant TEXTURE7.
      See Also:
    • TEXTURE8

      public static final int TEXTURE8
      The constant TEXTURE8.
      See Also:
    • TEXTURE9

      public static final int TEXTURE9
      The constant TEXTURE9.
      See Also:
    • TEXTURE10

      public static final int TEXTURE10
      The constant TEXTURE10.
      See Also:
    • TEXTURE11

      public static final int TEXTURE11
      The constant TEXTURE11.
      See Also:
    • TEXTURE12

      public static final int TEXTURE12
      The constant TEXTURE12.
      See Also:
    • TEXTURE13

      public static final int TEXTURE13
      The constant TEXTURE13.
      See Also:
    • TEXTURE14

      public static final int TEXTURE14
      The constant TEXTURE14.
      See Also:
    • TEXTURE15

      public static final int TEXTURE15
      The constant TEXTURE15.
      See Also:
    • TEXTURE16

      public static final int TEXTURE16
      The constant TEXTURE16.
      See Also:
    • TEXTURE17

      public static final int TEXTURE17
      The constant TEXTURE17.
      See Also:
    • TEXTURE18

      public static final int TEXTURE18
      The constant TEXTURE18.
      See Also:
    • TEXTURE19

      public static final int TEXTURE19
      The constant TEXTURE19.
      See Also:
    • TEXTURE20

      public static final int TEXTURE20
      The constant TEXTURE20.
      See Also:
    • TEXTURE21

      public static final int TEXTURE21
      The constant TEXTURE21.
      See Also:
    • TEXTURE22

      public static final int TEXTURE22
      The constant TEXTURE22.
      See Also:
    • TEXTURE23

      public static final int TEXTURE23
      The constant TEXTURE23.
      See Also:
    • TEXTURE24

      public static final int TEXTURE24
      The constant TEXTURE24.
      See Also:
    • TEXTURE25

      public static final int TEXTURE25
      The constant TEXTURE25.
      See Also:
    • TEXTURE26

      public static final int TEXTURE26
      The constant TEXTURE26.
      See Also:
    • TEXTURE27

      public static final int TEXTURE27
      The constant TEXTURE27.
      See Also:
    • TEXTURE28

      public static final int TEXTURE28
      The constant TEXTURE28.
      See Also:
    • TEXTURE29

      public static final int TEXTURE29
      The constant TEXTURE29.
      See Also:
    • TEXTURE30

      public static final int TEXTURE30
      The constant TEXTURE30.
      See Also:
    • TEXTURE31

      public static final int TEXTURE31
      The constant TEXTURE31.
      See Also:
    • ACTIVE_TEXTURE

      public static final int ACTIVE_TEXTURE
      The constant ACTIVE_TEXTURE.
      See Also:
    • MAX_RENDERBUFFER_SIZE

      public static final int MAX_RENDERBUFFER_SIZE
      The constant MAX_RENDERBUFFER_SIZE.
      See Also:
    • DEPTH_STENCIL

      public static final int DEPTH_STENCIL
      The constant DEPTH_STENCIL.
      See Also:
    • INCR_WRAP

      public static final int INCR_WRAP
      The constant INCR_WRAP.
      See Also:
    • DECR_WRAP

      public static final int DECR_WRAP
      The constant DECR_WRAP.
      See Also:
    • TEXTURE_CUBE_MAP

      public static final int TEXTURE_CUBE_MAP
      The constant TEXTURE_CUBE_MAP.
      See Also:
    • TEXTURE_BINDING_CUBE_MAP

      public static final int TEXTURE_BINDING_CUBE_MAP
      The constant TEXTURE_BINDING_CUBE_MAP.
      See Also:
    • TEXTURE_CUBE_MAP_POSITIVE_X

      public static final int TEXTURE_CUBE_MAP_POSITIVE_X
      The constant TEXTURE_CUBE_MAP_POSITIVE_X.
      See Also:
    • TEXTURE_CUBE_MAP_NEGATIVE_X

      public static final int TEXTURE_CUBE_MAP_NEGATIVE_X
      The constant TEXTURE_CUBE_MAP_NEGATIVE_X.
      See Also:
    • TEXTURE_CUBE_MAP_POSITIVE_Y

      public static final int TEXTURE_CUBE_MAP_POSITIVE_Y
      The constant TEXTURE_CUBE_MAP_POSITIVE_Y.
      See Also:
    • TEXTURE_CUBE_MAP_NEGATIVE_Y

      public static final int TEXTURE_CUBE_MAP_NEGATIVE_Y
      The constant TEXTURE_CUBE_MAP_NEGATIVE_Y.
      See Also:
    • TEXTURE_CUBE_MAP_POSITIVE_Z

      public static final int TEXTURE_CUBE_MAP_POSITIVE_Z
      The constant TEXTURE_CUBE_MAP_POSITIVE_Z.
      See Also:
    • TEXTURE_CUBE_MAP_NEGATIVE_Z

      public static final int TEXTURE_CUBE_MAP_NEGATIVE_Z
      The constant TEXTURE_CUBE_MAP_NEGATIVE_Z.
      See Also:
    • MAX_CUBE_MAP_TEXTURE_SIZE

      public static final int MAX_CUBE_MAP_TEXTURE_SIZE
      The constant MAX_CUBE_MAP_TEXTURE_SIZE.
      See Also:
    • VERTEX_ATTRIB_ARRAY_ENABLED

      public static final int VERTEX_ATTRIB_ARRAY_ENABLED
      The constant VERTEX_ATTRIB_ARRAY_ENABLED.
      See Also:
    • VERTEX_ATTRIB_ARRAY_SIZE

      public static final int VERTEX_ATTRIB_ARRAY_SIZE
      The constant VERTEX_ATTRIB_ARRAY_SIZE.
      See Also:
    • VERTEX_ATTRIB_ARRAY_STRIDE

      public static final int VERTEX_ATTRIB_ARRAY_STRIDE
      The constant VERTEX_ATTRIB_ARRAY_STRIDE.
      See Also:
    • VERTEX_ATTRIB_ARRAY_TYPE

      public static final int VERTEX_ATTRIB_ARRAY_TYPE
      The constant VERTEX_ATTRIB_ARRAY_TYPE.
      See Also:
    • CURRENT_VERTEX_ATTRIB

      public static final int CURRENT_VERTEX_ATTRIB
      The constant CURRENT_VERTEX_ATTRIB.
      See Also:
    • VERTEX_ATTRIB_ARRAY_POINTER

      public static final int VERTEX_ATTRIB_ARRAY_POINTER
      The constant VERTEX_ATTRIB_ARRAY_POINTER.
      See Also:
    • COMPRESSED_TEXTURE_FORMATS

      public static final int COMPRESSED_TEXTURE_FORMATS
      The constant COMPRESSED_TEXTURE_FORMATS.
      See Also:
    • BUFFER_SIZE

      public static final int BUFFER_SIZE
      The constant BUFFER_SIZE.
      See Also:
    • BUFFER_USAGE

      public static final int BUFFER_USAGE
      The constant BUFFER_USAGE.
      See Also:
    • STENCIL_BACK_FUNC

      public static final int STENCIL_BACK_FUNC
      The constant STENCIL_BACK_FUNC.
      See Also:
    • STENCIL_BACK_FAIL

      public static final int STENCIL_BACK_FAIL
      The constant STENCIL_BACK_FAIL.
      See Also:
    • STENCIL_BACK_PASS_DEPTH_FAIL

      public static final int STENCIL_BACK_PASS_DEPTH_FAIL
      The constant STENCIL_BACK_PASS_DEPTH_FAIL.
      See Also:
    • STENCIL_BACK_PASS_DEPTH_PASS

      public static final int STENCIL_BACK_PASS_DEPTH_PASS
      The constant STENCIL_BACK_PASS_DEPTH_PASS.
      See Also:
    • MAX_VERTEX_ATTRIBS

      public static final int MAX_VERTEX_ATTRIBS
      The constant MAX_VERTEX_ATTRIBS.
      See Also:
    • VERTEX_ATTRIB_ARRAY_NORMALIZED

      public static final int VERTEX_ATTRIB_ARRAY_NORMALIZED
      The constant VERTEX_ATTRIB_ARRAY_NORMALIZED.
      See Also:
    • MAX_TEXTURE_IMAGE_UNITS

      public static final int MAX_TEXTURE_IMAGE_UNITS
      The constant MAX_TEXTURE_IMAGE_UNITS.
      See Also:
    • ARRAY_BUFFER

      public static final int ARRAY_BUFFER
      The constant ARRAY_BUFFER.
      See Also:
    • ELEMENT_ARRAY_BUFFER

      public static final int ELEMENT_ARRAY_BUFFER
      The constant ELEMENT_ARRAY_BUFFER.
      See Also:
    • ARRAY_BUFFER_BINDING

      public static final int ARRAY_BUFFER_BINDING
      The constant ARRAY_BUFFER_BINDING.
      See Also:
    • ELEMENT_ARRAY_BUFFER_BINDING

      public static final int ELEMENT_ARRAY_BUFFER_BINDING
      The constant ELEMENT_ARRAY_BUFFER_BINDING.
      See Also:
    • VERTEX_ATTRIB_ARRAY_BUFFER_BINDING

      public static final int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING
      The constant VERTEX_ATTRIB_ARRAY_BUFFER_BINDING.
      See Also:
    • STREAM_DRAW

      public static final int STREAM_DRAW
      The constant STREAM_DRAW.
      See Also:
    • STATIC_DRAW

      public static final int STATIC_DRAW
      The constant STATIC_DRAW.
      See Also:
    • DYNAMIC_DRAW

      public static final int DYNAMIC_DRAW
      The constant DYNAMIC_DRAW.
      See Also:
    • FRAGMENT_SHADER

      public static final int FRAGMENT_SHADER
      The constant FRAGMENT_SHADER.
      See Also:
    • VERTEX_SHADER

      public static final int VERTEX_SHADER
      The constant VERTEX_SHADER.
      See Also:
    • MAX_VERTEX_TEXTURE_IMAGE_UNITS

      public static final int MAX_VERTEX_TEXTURE_IMAGE_UNITS
      The constant MAX_VERTEX_TEXTURE_IMAGE_UNITS.
      See Also:
    • MAX_COMBINED_TEXTURE_IMAGE_UNITS

      public static final int MAX_COMBINED_TEXTURE_IMAGE_UNITS
      The constant MAX_COMBINED_TEXTURE_IMAGE_UNITS.
      See Also:
    • SHADER_TYPE

      public static final int SHADER_TYPE
      The constant SHADER_TYPE.
      See Also:
    • FLOAT_VEC2

      public static final int FLOAT_VEC2
      The constant FLOAT_VEC2.
      See Also:
    • FLOAT_VEC3

      public static final int FLOAT_VEC3
      The constant FLOAT_VEC3.
      See Also:
    • FLOAT_VEC4

      public static final int FLOAT_VEC4
      The constant FLOAT_VEC4.
      See Also:
    • INT_VEC2

      public static final int INT_VEC2
      The constant INT_VEC2.
      See Also:
    • INT_VEC3

      public static final int INT_VEC3
      The constant INT_VEC3.
      See Also:
    • INT_VEC4

      public static final int INT_VEC4
      The constant INT_VEC4.
      See Also:
    • BOOL

      public static final int BOOL
      The constant BOOL.
      See Also:
    • BOOL_VEC2

      public static final int BOOL_VEC2
      The constant BOOL_VEC2.
      See Also:
    • BOOL_VEC3

      public static final int BOOL_VEC3
      The constant BOOL_VEC3.
      See Also:
    • BOOL_VEC4

      public static final int BOOL_VEC4
      The constant BOOL_VEC4.
      See Also:
    • FLOAT_MAT2

      public static final int FLOAT_MAT2
      The constant FLOAT_MAT2.
      See Also:
    • FLOAT_MAT3

      public static final int FLOAT_MAT3
      The constant FLOAT_MAT3.
      See Also:
    • FLOAT_MAT4

      public static final int FLOAT_MAT4
      The constant FLOAT_MAT4.
      See Also:
    • SAMPLER_2D

      public static final int SAMPLER_2D
      The constant SAMPLER_2D.
      See Also:
    • SAMPLER_CUBE

      public static final int SAMPLER_CUBE
      The constant SAMPLER_CUBE.
      See Also:
    • DELETE_STATUS

      public static final int DELETE_STATUS
      The constant DELETE_STATUS.
      See Also:
    • COMPILE_STATUS

      public static final int COMPILE_STATUS
      The constant COMPILE_STATUS.
      See Also:
    • VALIDATE_STATUS

      public static final int VALIDATE_STATUS
      The constant VALIDATE_STATUS.
      See Also:
    • ATTACHED_SHADERS

      public static final int ATTACHED_SHADERS
      The constant ATTACHED_SHADERS.
      See Also:
    • ACTIVE_UNIFORMS

      public static final int ACTIVE_UNIFORMS
      The constant ACTIVE_UNIFORMS.
      See Also:
    • ACTIVE_ATTRIBUTES

      public static final int ACTIVE_ATTRIBUTES
      The constant ACTIVE_ATTRIBUTES.
      See Also:
    • SHADING_LANGUAGE_VERSION

      public static final int SHADING_LANGUAGE_VERSION
      The constant SHADING_LANGUAGE_VERSION.
      See Also:
    • CURRENT_PROGRAM

      public static final int CURRENT_PROGRAM
      The constant CURRENT_PROGRAM.
      See Also:
    • IMPLEMENTATION_COLOR_READ_TYPE

      public static final int IMPLEMENTATION_COLOR_READ_TYPE
      The constant IMPLEMENTATION_COLOR_READ_TYPE.
      See Also:
    • IMPLEMENTATION_COLOR_READ_FORMAT

      public static final int IMPLEMENTATION_COLOR_READ_FORMAT
      The constant IMPLEMENTATION_COLOR_READ_FORMAT.
      See Also:
    • STENCIL_BACK_REF

      public static final int STENCIL_BACK_REF
      The constant STENCIL_BACK_REF.
      See Also:
    • STENCIL_BACK_VALUE_MASK

      public static final int STENCIL_BACK_VALUE_MASK
      The constant STENCIL_BACK_VALUE_MASK.
      See Also:
    • STENCIL_BACK_WRITEMASK

      public static final int STENCIL_BACK_WRITEMASK
      The constant STENCIL_BACK_WRITEMASK.
      See Also:
    • FRAMEBUFFER_BINDING

      public static final int FRAMEBUFFER_BINDING
      The constant FRAMEBUFFER_BINDING.
      See Also:
    • RENDERBUFFER_BINDING

      public static final int RENDERBUFFER_BINDING
      The constant RENDERBUFFER_BINDING.
      See Also:
    • FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE

      public static final int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE
      The constant FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE.
      See Also:
    • FRAMEBUFFER_ATTACHMENT_OBJECT_NAME

      public static final int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME
      The constant FRAMEBUFFER_ATTACHMENT_OBJECT_NAME.
      See Also:
    • FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL

      public static final int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL
      The constant FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL.
      See Also:
    • FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE

      public static final int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE
      The constant FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE.
      See Also:
    • FRAMEBUFFER_COMPLETE

      public static final int FRAMEBUFFER_COMPLETE
      The constant FRAMEBUFFER_COMPLETE.
      See Also:
    • FRAMEBUFFER_INCOMPLETE_ATTACHMENT

      public static final int FRAMEBUFFER_INCOMPLETE_ATTACHMENT
      The constant FRAMEBUFFER_INCOMPLETE_ATTACHMENT.
      See Also:
    • FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT

      public static final int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT
      The constant FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT.
      See Also:
    • FRAMEBUFFER_INCOMPLETE_DIMENSIONS

      public static final int FRAMEBUFFER_INCOMPLETE_DIMENSIONS
      The constant FRAMEBUFFER_INCOMPLETE_DIMENSIONS.
      See Also:
    • FRAMEBUFFER_UNSUPPORTED

      public static final int FRAMEBUFFER_UNSUPPORTED
      The constant FRAMEBUFFER_UNSUPPORTED.
      See Also:
    • COLOR_ATTACHMENT0

      public static final int COLOR_ATTACHMENT0
      The constant COLOR_ATTACHMENT0.
      See Also:
    • DEPTH_ATTACHMENT

      public static final int DEPTH_ATTACHMENT
      The constant DEPTH_ATTACHMENT.
      See Also:
    • STENCIL_ATTACHMENT

      public static final int STENCIL_ATTACHMENT
      The constant STENCIL_ATTACHMENT.
      See Also:
    • FRAMEBUFFER

      public static final int FRAMEBUFFER
      The constant FRAMEBUFFER.
      See Also:
    • RENDERBUFFER

      public static final int RENDERBUFFER
      The constant RENDERBUFFER.
      See Also:
    • RENDERBUFFER_WIDTH

      public static final int RENDERBUFFER_WIDTH
      The constant RENDERBUFFER_WIDTH.
      See Also:
    • RENDERBUFFER_HEIGHT

      public static final int RENDERBUFFER_HEIGHT
      The constant RENDERBUFFER_HEIGHT.
      See Also:
    • RENDERBUFFER_INTERNAL_FORMAT

      public static final int RENDERBUFFER_INTERNAL_FORMAT
      The constant RENDERBUFFER_INTERNAL_FORMAT.
      See Also:
    • STENCIL_INDEX8

      public static final int STENCIL_INDEX8
      The constant STENCIL_INDEX8.
      See Also:
    • RENDERBUFFER_RED_SIZE

      public static final int RENDERBUFFER_RED_SIZE
      The constant RENDERBUFFER_RED_SIZE.
      See Also:
    • RENDERBUFFER_GREEN_SIZE

      public static final int RENDERBUFFER_GREEN_SIZE
      The constant RENDERBUFFER_GREEN_SIZE.
      See Also:
    • RENDERBUFFER_BLUE_SIZE

      public static final int RENDERBUFFER_BLUE_SIZE
      The constant RENDERBUFFER_BLUE_SIZE.
      See Also:
    • RENDERBUFFER_ALPHA_SIZE

      public static final int RENDERBUFFER_ALPHA_SIZE
      The constant RENDERBUFFER_ALPHA_SIZE.
      See Also:
    • RENDERBUFFER_DEPTH_SIZE

      public static final int RENDERBUFFER_DEPTH_SIZE
      The constant RENDERBUFFER_DEPTH_SIZE.
      See Also:
    • RENDERBUFFER_STENCIL_SIZE

      public static final int RENDERBUFFER_STENCIL_SIZE
      The constant RENDERBUFFER_STENCIL_SIZE.
      See Also:
    • RGB565

      public static final int RGB565
      The constant RGB565.
      See Also:
    • LOW_FLOAT

      public static final int LOW_FLOAT
      The constant LOW_FLOAT.
      See Also:
    • MEDIUM_FLOAT

      public static final int MEDIUM_FLOAT
      The constant MEDIUM_FLOAT.
      See Also:
    • HIGH_FLOAT

      public static final int HIGH_FLOAT
      The constant HIGH_FLOAT.
      See Also:
    • LOW_INT

      public static final int LOW_INT
      The constant LOW_INT.
      See Also:
    • MEDIUM_INT

      public static final int MEDIUM_INT
      The constant MEDIUM_INT.
      See Also:
    • HIGH_INT

      public static final int HIGH_INT
      The constant HIGH_INT.
      See Also:
    • MAX_VERTEX_UNIFORM_VECTORS

      public static final int MAX_VERTEX_UNIFORM_VECTORS
      The constant MAX_VERTEX_UNIFORM_VECTORS.
      See Also:
    • MAX_VARYING_VECTORS

      public static final int MAX_VARYING_VECTORS
      The constant MAX_VARYING_VECTORS.
      See Also:
    • MAX_FRAGMENT_UNIFORM_VECTORS

      public static final int MAX_FRAGMENT_UNIFORM_VECTORS
      The constant MAX_FRAGMENT_UNIFORM_VECTORS.
      See Also:
    • UNPACK_FLIP_Y_WEBGL

      public static final int UNPACK_FLIP_Y_WEBGL
      The constant UNPACK_FLIP_Y_WEBGL.
      See Also:
    • UNPACK_PREMULTIPLY_ALPHA_WEBGL

      public static final int UNPACK_PREMULTIPLY_ALPHA_WEBGL
      The constant UNPACK_PREMULTIPLY_ALPHA_WEBGL.
      See Also:
    • CONTEXT_LOST_WEBGL

      public static final int CONTEXT_LOST_WEBGL
      The constant CONTEXT_LOST_WEBGL.
      See Also:
    • UNPACK_COLORSPACE_CONVERSION_WEBGL

      public static final int UNPACK_COLORSPACE_CONVERSION_WEBGL
      The constant UNPACK_COLORSPACE_CONVERSION_WEBGL.
      See Also:
    • BROWSER_DEFAULT_WEBGL

      public static final int BROWSER_DEFAULT_WEBGL
      The constant BROWSER_DEFAULT_WEBGL.
      See Also:
  • Constructor Details

    • WebGLRenderingContext

      public WebGLRenderingContext()
      Default constructor.
  • Method Details

    • jsConstructor

      public void jsConstructor()
      Creates an instance.