Class WebGLRenderingContext

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.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:
    Serialized Form
    • Field Detail

      • DEPTH_BUFFER_BIT

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

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

        public static final int COLOR_BUFFER_BIT
        The constant COLOR_BUFFER_BIT.
        See Also:
        Constant Field Values
      • LINE_STRIP

        public static final int LINE_STRIP
        The constant LINE_STRIP.
        See Also:
        Constant Field Values
      • TRIANGLE_STRIP

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

        public static final int TRIANGLE_FAN
        The constant TRIANGLE_FAN.
        See Also:
        Constant Field Values
      • ONE_MINUS_SRC_COLOR

        public static final int ONE_MINUS_SRC_COLOR
        The constant ONE_MINUS_SRC_COLOR.
        See Also:
        Constant Field Values
      • ONE_MINUS_SRC_ALPHA

        public static final int ONE_MINUS_SRC_ALPHA
        The constant ONE_MINUS_SRC_ALPHA.
        See Also:
        Constant Field Values
      • ONE_MINUS_DST_ALPHA

        public static final int ONE_MINUS_DST_ALPHA
        The constant ONE_MINUS_DST_ALPHA.
        See Also:
        Constant Field Values
      • ONE_MINUS_DST_COLOR

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

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

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

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

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

        public static final int ONE_MINUS_CONSTANT_ALPHA
        The constant ONE_MINUS_CONSTANT_ALPHA.
        See Also:
        Constant Field Values
      • FUNC_REVERSE_SUBTRACT

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

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

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

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

        public static final int BLEND_DST_RGB
        The constant BLEND_DST_RGB.
        See Also:
        Constant Field Values
      • FRONT_AND_BACK

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

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

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

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

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

        public static final int INVALID_FRAMEBUFFER_OPERATION
        The constant INVALID_FRAMEBUFFER_OPERATION.
        See Also:
        Constant Field Values
      • LINE_WIDTH

        public static final int LINE_WIDTH
        The constant LINE_WIDTH.
        See Also:
        Constant Field Values
      • CULL_FACE_MODE

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public static final int STENCIL_WRITEMASK
        The constant STENCIL_WRITEMASK.
        See Also:
        Constant Field Values
      • SCISSOR_BOX

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

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

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

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

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

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

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

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

        public static final int SUBPIXEL_BITS
        The constant SUBPIXEL_BITS.
        See Also:
        Constant Field Values
      • GREEN_BITS

        public static final int GREEN_BITS
        The constant GREEN_BITS.
        See Also:
        Constant Field Values
      • ALPHA_BITS

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

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

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

        public static final int TEXTURE_2D
        The constant TEXTURE_2D.
        See Also:
        Constant Field Values
      • UNSIGNED_BYTE

        public static final int UNSIGNED_BYTE
        The constant UNSIGNED_BYTE.
        See Also:
        Constant Field Values
      • UNSIGNED_SHORT

        public static final int UNSIGNED_SHORT
        The constant UNSIGNED_SHORT.
        See Also:
        Constant Field Values
      • UNSIGNED_INT

        public static final int UNSIGNED_INT
        The constant UNSIGNED_INT.
        See Also:
        Constant Field Values
      • DEPTH_COMPONENT

        public static final int DEPTH_COMPONENT
        The constant DEPTH_COMPONENT.
        See Also:
        Constant Field Values
      • LUMINANCE_ALPHA

        public static final int LUMINANCE_ALPHA
        The constant LUMINANCE_ALPHA.
        See Also:
        Constant Field Values
      • NEAREST_MIPMAP_NEAREST

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

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

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

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

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

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

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

        public static final int TEXTURE_WRAP_T
        The constant TEXTURE_WRAP_T.
        See Also:
        Constant Field Values
      • POLYGON_OFFSET_UNITS

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

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

        public static final int FUNC_SUBTRACT
        The constant FUNC_SUBTRACT.
        See Also:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • POLYGON_OFFSET_FILL

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

        public static final int POLYGON_OFFSET_FACTOR
        The constant POLYGON_OFFSET_FACTOR.
        See Also:
        Constant Field Values
      • TEXTURE_BINDING_2D

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

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

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

        public static final int SAMPLE_BUFFERS
        The constant SAMPLE_BUFFERS.
        See Also:
        Constant Field Values
      • SAMPLE_COVERAGE_VALUE

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

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

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

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

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

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

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

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

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

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

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

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

        public static final int ALIASED_LINE_WIDTH_RANGE
        The constant ALIASED_LINE_WIDTH_RANGE.
        See Also:
        Constant Field Values
      • ACTIVE_TEXTURE

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

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

        public static final int DEPTH_STENCIL
        The constant DEPTH_STENCIL.
        See Also:
        Constant Field Values
      • TEXTURE_CUBE_MAP

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public static final int FLOAT_VEC4
        The constant FLOAT_VEC4.
        See Also:
        Constant Field Values
      • FLOAT_MAT2

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

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

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

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

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

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

        public static final int COMPILE_STATUS
        The constant COMPILE_STATUS.
        See Also:
        Constant Field Values
      • LINK_STATUS

        public static final int LINK_STATUS
        The constant LINK_STATUS.
        See Also:
        Constant Field Values
      • VALIDATE_STATUS

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public static final int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL
        The constant FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL.
        See Also:
        Constant Field Values
      • 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:
        Constant Field Values
      • FRAMEBUFFER_COMPLETE

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public static final int RENDERBUFFER_STENCIL_SIZE
        The constant RENDERBUFFER_STENCIL_SIZE.
        See Also:
        Constant Field Values
      • MEDIUM_FLOAT

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

        public static final int HIGH_FLOAT
        The constant HIGH_FLOAT.
        See Also:
        Constant Field Values
      • MEDIUM_INT

        public static final int MEDIUM_INT
        The constant MEDIUM_INT.
        See Also:
        Constant Field Values
      • MAX_VERTEX_UNIFORM_VECTORS

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

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

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

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

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

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

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

        public static final int BROWSER_DEFAULT_WEBGL
        The constant BROWSER_DEFAULT_WEBGL.
        See Also:
        Constant Field Values
    • Constructor Detail

      • WebGLRenderingContext

        public WebGLRenderingContext()
        Default constructor.
    • Method Detail

      • jsConstructor

        public void jsConstructor()
        Creates an instance.