Passed to getProgramParameter to get the number of attributes active in a program.
constant
{number}
Const GL_ACTIVE_TEXTURE
GL_ACTIVE_TEXTURE:34016 = 0x84e0
The current active texture unit.
constant
{number}
Const GL_ACTIVE_UNIFORMS
GL_ACTIVE_UNIFORMS:35718 = 0x8b86
Passed to getProgramParamter to get the number of uniforms active in a program.
constant
{number}
Const GL_ACTIVE_UNIFORM_BLOCKS
GL_ACTIVE_UNIFORM_BLOCKS:35382 = 0x8a36
constant
{number}
Const GL_ALIASED_LINE_WIDTH_RANGE
GL_ALIASED_LINE_WIDTH_RANGE:33902 = 0x846e
Passed to getParameter to get the range of available widths for a line. Returns a length-2 array with the lo value at 0, and hight at 1.
constant
{number}
Const GL_ALIASED_POINT_SIZE_RANGE
GL_ALIASED_POINT_SIZE_RANGE:33901 = 0x846d
Passed to getParameter to get the current size of a point drawn with gl.POINTS.
constant
{number}
Const GL_ALPHA
GL_ALPHA:6406 = 0x1906
constant
{number}
Const GL_ALPHA_BITS
GL_ALPHA_BITS:3413 = 0x0d55
constant
{number}
Const GL_ALREADY_SIGNALED
GL_ALREADY_SIGNALED:37146 = 0x911a
constant
{number}
Const GL_ALWAYS
GL_ALWAYS:519 = 0x0207
Passed to depthFunction or stencilFunction to specify depth or stencil tests will always pass. i.e. Pixels will be drawn in the order they are drawn.
constant
{number}
Const GL_ANY_SAMPLES_PASSED
GL_ANY_SAMPLES_PASSED:35887 = 0x8c2f
constant
{number}
Const GL_ANY_SAMPLES_PASSED_CONSERVATIVE
GL_ANY_SAMPLES_PASSED_CONSERVATIVE:36202 = 0x8d6a
constant
{number}
Const GL_ARRAY_BUFFER
GL_ARRAY_BUFFER:34962 = 0x8892
Passed to bindBuffer or bufferData to specify the type of buffer being used.
constant
{number}
Const GL_ARRAY_BUFFER_BINDING
GL_ARRAY_BUFFER_BINDING:34964 = 0x8894
Passed to getParameter to get the array buffer binding.
constant
{number}
Const GL_ATTACHED_SHADERS
GL_ATTACHED_SHADERS:35717 = 0x8b85
Passed to getProgramParameter after calling attachShader to determine if the shader was attached correctly. Returns false if errors occurred.
constant
{number}
Const GL_BACK
GL_BACK:1029 = 0x0405
Passed to cullFace to specify that only back faces should be culled.
constant
{number}
Const GL_BLEND
GL_BLEND:3042 = 0x0be2
Passed to enable/disable to turn on/off blending. Can also be used with getParameter to find the current blending method.
constant
{number}
Const GL_BLEND_COLOR
GL_BLEND_COLOR:32773 = 0x8005
Passed to getParameter to return a the current blend color.
constant
{number}
Const GL_BLEND_DST_ALPHA
GL_BLEND_DST_ALPHA:32970 = 0x80ca
Passed to getParameter to get the current destination alpha blend function.
constant
{number}
Const GL_BLEND_DST_RGB
GL_BLEND_DST_RGB:32968 = 0x80c8
Passed to getParameter to get the current destination RGB blend function.
constant
{number}
Const GL_BLEND_EQUATION
GL_BLEND_EQUATION:32777 = 0x8009
Passed to getParameter to get the current RGB blend function.
constant
{number}
Const GL_BLEND_EQUATION_ALPHA
GL_BLEND_EQUATION_ALPHA:34877 = 0x883d
Passed to getParameter to get the current alpha blend function. Same as BLEND_EQUATION.
constant
{number}
Const GL_BLEND_EQUATION_RGB
GL_BLEND_EQUATION_RGB:32777 = 0x8009
Passed to getParameter to get the current RGB blend function. Same as BLEND_EQUATION.
constant
{number}
Const GL_BLEND_SRC_ALPHA
GL_BLEND_SRC_ALPHA:32971 = 0x80cb
Passed to getParameter to get the current source alpha blend function.
constant
{number}
Const GL_BLEND_SRC_RGB
GL_BLEND_SRC_RGB:32969 = 0x80c9
Passed to getParameter to get the current source RGB blend function.
constant
{number}
Const GL_BLUE_BITS
GL_BLUE_BITS:3412 = 0x0d54
constant
{number}
Const GL_BOOL
GL_BOOL:35670 = 0x8b56
constant
{number}
Const GL_BOOL_VEC2
GL_BOOL_VEC2:35671 = 0x8b57
constant
{number}
Const GL_BOOL_VEC3
GL_BOOL_VEC3:35672 = 0x8b58
constant
{number}
Const GL_BOOL_VEC4
GL_BOOL_VEC4:35673 = 0x8b59
constant
{number}
Const GL_BROWSER_DEFAULT_WEBGL
GL_BROWSER_DEFAULT_WEBGL:37444 = 0x9244
constant
{number}
Const GL_BUFFER_SIZE
GL_BUFFER_SIZE:34660 = 0x8764
Passed to getBufferParameter to get a buffer's size.
constant
{number}
Const GL_BUFFER_USAGE
GL_BUFFER_USAGE:34661 = 0x8765
Passed to getBufferParameter to get the hint for the buffer passed in when it was created.
constant
{number}
Const GL_CCW
GL_CCW:2305 = 0x0901
Passed to frontFace to specify the front face of a polygon is drawn in the counter clockwise direction.
constant
{number}
Const GL_CLAMP_TO_EDGE
GL_CLAMP_TO_EDGE:33071 = 0x812f
constant
{number}
Const GL_COLOR
GL_COLOR:6144 = 0x1800
constant
{number}
Const GL_COLOR_ATTACHMENT0
GL_COLOR_ATTACHMENT0:36064 = 0x8ce0
constant
{number}
Const GL_COLOR_ATTACHMENT0_WEBGL
GL_COLOR_ATTACHMENT0_WEBGL:36064 = 0x8ce0
Framebuffer color attachment point.
constant
{number}
Const GL_COLOR_ATTACHMENT1
GL_COLOR_ATTACHMENT1:36065 = 0x8ce1
constant
{number}
Const GL_COLOR_ATTACHMENT10
GL_COLOR_ATTACHMENT10:36074 = 0x8cea
constant
{number}
Const GL_COLOR_ATTACHMENT10_WEBGL
GL_COLOR_ATTACHMENT10_WEBGL:36074 = 0x8cea
Framebuffer color attachment point.
constant
{number}
Const GL_COLOR_ATTACHMENT11
GL_COLOR_ATTACHMENT11:36075 = 0x8ceb
constant
{number}
Const GL_COLOR_ATTACHMENT11_WEBGL
GL_COLOR_ATTACHMENT11_WEBGL:36075 = 0x8ceb
Framebuffer color attachment point.
constant
{number}
Const GL_COLOR_ATTACHMENT12
GL_COLOR_ATTACHMENT12:36076 = 0x8cec
constant
{number}
Const GL_COLOR_ATTACHMENT12_WEBGL
GL_COLOR_ATTACHMENT12_WEBGL:36076 = 0x8cec
Framebuffer color attachment point.
constant
{number}
Const GL_COLOR_ATTACHMENT13
GL_COLOR_ATTACHMENT13:36077 = 0x8ced
constant
{number}
Const GL_COLOR_ATTACHMENT13_WEBGL
GL_COLOR_ATTACHMENT13_WEBGL:36077 = 0x8ced
Framebuffer color attachment point.
constant
{number}
Const GL_COLOR_ATTACHMENT14
GL_COLOR_ATTACHMENT14:36078 = 0x8cee
constant
{number}
Const GL_COLOR_ATTACHMENT14_WEBGL
GL_COLOR_ATTACHMENT14_WEBGL:36078 = 0x8cee
Framebuffer color attachment point.
constant
{number}
Const GL_COLOR_ATTACHMENT15
GL_COLOR_ATTACHMENT15:36079 = 0x8cef
constant
{number}
Const GL_COLOR_ATTACHMENT15_WEBGL
GL_COLOR_ATTACHMENT15_WEBGL:36079 = 0x8cef
Framebuffer color attachment point.
constant
{number}
Const GL_COLOR_ATTACHMENT1_WEBGL
GL_COLOR_ATTACHMENT1_WEBGL:36065 = 0x8ce1
Framebuffer color attachment point.
constant
{number}
Const GL_COLOR_ATTACHMENT2
GL_COLOR_ATTACHMENT2:36066 = 0x8ce2
constant
{number}
Const GL_COLOR_ATTACHMENT2_WEBGL
GL_COLOR_ATTACHMENT2_WEBGL:36066 = 0x8ce2
Framebuffer color attachment point.
constant
{number}
Const GL_COLOR_ATTACHMENT3
GL_COLOR_ATTACHMENT3:36067 = 0x8ce3
constant
{number}
Const GL_COLOR_ATTACHMENT3_WEBGL
GL_COLOR_ATTACHMENT3_WEBGL:36067 = 0x8ce3
Framebuffer color attachment point.
constant
{number}
Const GL_COLOR_ATTACHMENT4
GL_COLOR_ATTACHMENT4:36068 = 0x8ce4
constant
{number}
Const GL_COLOR_ATTACHMENT4_WEBGL
GL_COLOR_ATTACHMENT4_WEBGL:36068 = 0x8ce4
Framebuffer color attachment point.
constant
{number}
Const GL_COLOR_ATTACHMENT5
GL_COLOR_ATTACHMENT5:36069 = 0x8ce5
constant
{number}
Const GL_COLOR_ATTACHMENT5_WEBGL
GL_COLOR_ATTACHMENT5_WEBGL:36069 = 0x8ce5
Framebuffer color attachment point.
constant
{number}
Const GL_COLOR_ATTACHMENT6
GL_COLOR_ATTACHMENT6:36070 = 0x8ce6
constant
{number}
Const GL_COLOR_ATTACHMENT6_WEBGL
GL_COLOR_ATTACHMENT6_WEBGL:36070 = 0x8ce6
Framebuffer color attachment point.
constant
{number}
Const GL_COLOR_ATTACHMENT7
GL_COLOR_ATTACHMENT7:36071 = 0x8ce7
constant
{number}
Const GL_COLOR_ATTACHMENT7_WEBGL
GL_COLOR_ATTACHMENT7_WEBGL:36071 = 0x8ce7
Framebuffer color attachment point.
constant
{number}
Const GL_COLOR_ATTACHMENT8
GL_COLOR_ATTACHMENT8:36072 = 0x8ce8
constant
{number}
Const GL_COLOR_ATTACHMENT8_WEBGL
GL_COLOR_ATTACHMENT8_WEBGL:36072 = 0x8ce8
Framebuffer color attachment point.
constant
{number}
Const GL_COLOR_ATTACHMENT9
GL_COLOR_ATTACHMENT9:36073 = 0x8ce9
constant
{number}
Const GL_COLOR_ATTACHMENT9_WEBGL
GL_COLOR_ATTACHMENT9_WEBGL:36073 = 0x8ce9
Framebuffer color attachment point.
constant
{number}
Const GL_COLOR_BUFFER_BIT
GL_COLOR_BUFFER_BIT:16384 = 0x00004000
Passed to clear to clear the current color buffer.
constant
{number}
Const GL_COLOR_CLEAR_VALUE
GL_COLOR_CLEAR_VALUE:3106 = 0x0c22
constant
{number}
Const GL_COLOR_WRITEMASK
GL_COLOR_WRITEMASK:3107 = 0x0c23
constant
{number}
Const GL_COMPARE_REF_TO_TEXTURE
GL_COMPARE_REF_TO_TEXTURE:34894 = 0x884e
constant
{number}
Const GL_COMPILE_STATUS
GL_COMPILE_STATUS:35713 = 0x8b81
Passed to getShaderParamter to get the status of the compilation. Returns false if the shader was not compiled. You can then query getShaderInfoLog to find the exact error.
constant
{number}
Const GL_COMPRESSED_R11_EAC
GL_COMPRESSED_R11_EAC:37488 = 0x9270
One-channel (red) unsigned format compression.
constant
{number}
Const GL_COMPRESSED_RG11_EAC
GL_COMPRESSED_RG11_EAC:37490 = 0x9272
Two-channel (red and green) unsigned format compression.
RGBA compression in 4-bit mode. One block for each 4×4 pixels.
constant
{number}
Const GL_COMPRESSED_RGBA_S3TC_DXT1_EXT
GL_COMPRESSED_RGBA_S3TC_DXT1_EXT:33777 = 0x83f1
A DXT1-compressed image in an RGB image format with a simple on/off alpha value.
constant
{number}
Const GL_COMPRESSED_RGBA_S3TC_DXT3_EXT
GL_COMPRESSED_RGBA_S3TC_DXT3_EXT:33778 = 0x83f2
A DXT3-compressed image in an RGBA image format. Compared to a 32-bit RGBA texture, it offers 4:1 compression.
constant
{number}
Const GL_COMPRESSED_RGBA_S3TC_DXT5_EXT
GL_COMPRESSED_RGBA_S3TC_DXT5_EXT:33779 = 0x83f3
A DXT5-compressed image in an RGBA image format. It also provides a 4:1 compression, but differs to the DXT3 compression in how the alpha compression is done.
constant
{number}
Const GL_COMPRESSED_RGB_ATC_WEBGL
GL_COMPRESSED_RGB_ATC_WEBGL:35986 = 0x8c92
Compresses RGB textures with no alpha channel.
constant
{number}
Const GL_COMPRESSED_RGB_ETC1_WEBGL
GL_COMPRESSED_RGB_ETC1_WEBGL:36196 = 0x8d64
Compresses 24-bit RGB data with no alpha channel.
constant
{number}
Const GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG
GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG:35841 = 0x8c01
RGB compression in 2-bit mode. One block for each 8×4 pixels.
constant
{number}
Const GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG
GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG:35840 = 0x8c00
RGB compression in 4-bit mode. One block for each 4×4 pixels.
constant
{number}
Const GL_COMPRESSED_RGB_S3TC_DXT1_EXT
GL_COMPRESSED_RGB_S3TC_DXT1_EXT:33776 = 0x83f0
A DXT1-compressed image in an RGB image format.
constant
{number}
Const GL_COMPRESSED_SIGNED_R11_EAC
GL_COMPRESSED_SIGNED_R11_EAC:37489 = 0x9271
One-channel (red) signed format compression.
constant
{number}
Const GL_COMPRESSED_SIGNED_RG11_EAC
GL_COMPRESSED_SIGNED_RG11_EAC:37491 = 0x9273
Two-channel (red and green) signed format compression.
Passed to cullFace to specify that only front faces should be culled.
constant
{number}
Const GL_FRONT_AND_BACK
GL_FRONT_AND_BACK:1032 = 0x0408
Passed to cullFace to specify that front and back faces should be culled.
constant
{number}
Const GL_FRONT_FACE
GL_FRONT_FACE:2886 = 0x0b46
Passed to getParameter to determine the current value of frontFace. Should return CW or CCW.
constant
{number}
Const GL_FUNC_ADD
GL_FUNC_ADD:32774 = 0x8006
Passed to blendEquation or blendEquationSeparate to set an addition blend function.
constant
{number}
Const GL_FUNC_REVERSE_SUBTRACT
GL_FUNC_REVERSE_SUBTRACT:32779 = 0x800b
Passed to blendEquation or blendEquationSeparate to specify a reverse subtraction blend function (destination - source).
constant
{number}
Const GL_FUNC_SUBSTRACT
GL_FUNC_SUBSTRACT:32778 = 0x800a
Passed to blendEquation or blendEquationSeparate to specify a subtraction blend function (source - destination).
constant
{number}
Const GL_GENERATE_MIPMAP_HINT
GL_GENERATE_MIPMAP_HINT:33170 = 0x8192
Hint for the quality of filtering when generating mipmap images with WebGLRenderingContext.generateMipmap().
constant
{number}
Const GL_GEQUAL
GL_GEQUAL:518 = 0x0206
Passed to depthFunction or stencilFunction to specify depth or stencil tests will pass if the new depth value is greater than or equal to the stored value.
constant
{number}
Const GL_GPU_DISJOINT_EXT
GL_GPU_DISJOINT_EXT:36795 = 0x8fbb
A Boolean indicating whether or not the GPU performed any disjoint operation.
constant
{number}
Const GL_GREATER
GL_GREATER:516 = 0x0204
Passed to depthFunction or stencilFunction to specify depth or stencil tests will pass if the new depth value is greater than the stored value.
Passed to depthFunction or stencilFunction to specify depth or stencil tests will pass if the new depth value is less than or equal to the stored value.
constant
{number}
Const GL_LESS
GL_LESS:513 = 0x0201
Passed to depthFunction or stencilFunction to specify depth or stencil tests will pass if the new depth value is less than the stored value.
constant
{number}
Const GL_LINEAR
GL_LINEAR:9729 = 0x2601
constant
{number}
Const GL_LINEAR_MIPMAP_LINEAR
GL_LINEAR_MIPMAP_LINEAR:9987 = 0x2703
constant
{number}
Const GL_LINEAR_MIPMAP_NEAREST
GL_LINEAR_MIPMAP_NEAREST:9985 = 0x2701
constant
{number}
Const GL_LINES
GL_LINES:1 = 0x0001
Passed to drawElements or drawArrays to draw lines. Each vertex connects to the one after it.
constant
{number}
Const GL_LINE_LOOP
GL_LINE_LOOP:2 = 0x0002
Passed to drawElements or drawArrays to draw lines. Each set of two vertices is treated as a separate line segment.
constant
{number}
Const GL_LINE_STRIP
GL_LINE_STRIP:3 = 0x0003
Passed to drawElements or drawArrays to draw a connected group of line segments from the first vertex to the last.
constant
{number}
Const GL_LINE_WIDTH
GL_LINE_WIDTH:2849 = 0x0b21
Passed to getParameter to get the current lineWidth (set by the lineWidth method).
constant
{number}
Const GL_LINK_STATUS
GL_LINK_STATUS:35714 = 0x8b82
Passed to getProgramParameter after calling linkProgram to determine if a program was linked correctly. Returns false if there were errors. Use getProgramInfoLog to find the exact error.
constant
{number}
Const GL_LOW_FLOAT
GL_LOW_FLOAT:36336 = 0x8df0
constant
{number}
Const GL_LOW_INT
GL_LOW_INT:36339 = 0x8df3
constant
{number}
Const GL_LUMINANCE
GL_LUMINANCE:6409 = 0x1909
constant
{number}
Const GL_LUMINANCE_ALPHA
GL_LUMINANCE_ALPHA:6410 = 0x190a
constant
{number}
Const GL_MAX
GL_MAX:32776 = 0x8008
constant
{number}
Const GL_MAX_3D_TEXTURE_SIZE
GL_MAX_3D_TEXTURE_SIZE:32883 = 0x8073
constant
{number}
Const GL_MAX_ARRAY_TEXTURE_LAYERS
GL_MAX_ARRAY_TEXTURE_LAYERS:35071 = 0x88ff
constant
{number}
Const GL_MAX_CLIENT_WAIT_TIMEOUT_WEBGL
GL_MAX_CLIENT_WAIT_TIMEOUT_WEBGL:37447 = 0x9247
constant
{number}
Const GL_MAX_COLOR_ATTACHMENTS
GL_MAX_COLOR_ATTACHMENTS:36063 = 0x8cdf
constant
{number}
Const GL_MAX_COLOR_ATTACHMENTS_WEBGL
GL_MAX_COLOR_ATTACHMENTS_WEBGL:36063 = 0x8cdf
Maximum number of framebuffer color attachment points.
The maximum number of entries possible in the vertex attribute list.
constant
{number}
Const GL_MAX_VERTEX_OUTPUT_COMPONENTS
GL_MAX_VERTEX_OUTPUT_COMPONENTS:37154 = 0x9122
constant
{number}
Const GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS
GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS:35660 = 0x8b4c
constant
{number}
Const GL_MAX_VERTEX_UNIFORM_BLOCKS
GL_MAX_VERTEX_UNIFORM_BLOCKS:35371 = 0x8a2b
constant
{number}
Const GL_MAX_VERTEX_UNIFORM_COMPONENTS
GL_MAX_VERTEX_UNIFORM_COMPONENTS:35658 = 0x8b4a
constant
{number}
Const GL_MAX_VERTEX_UNIFORM_VECTORS
GL_MAX_VERTEX_UNIFORM_VECTORS:36347 = 0x8dfb
constant
{number}
Const GL_MAX_VIEWPORT_DIMS
GL_MAX_VIEWPORT_DIMS:3386 = 0x0d3a
constant
{number}
Const GL_MEDIUM_FLOAT
GL_MEDIUM_FLOAT:36337 = 0x8df1
constant
{number}
Const GL_MEDIUM_INT
GL_MEDIUM_INT:36340 = 0x8df4
constant
{number}
Const GL_MIN
GL_MIN:32775 = 0x8007
constant
{number}
Const GL_MIN_EXT
GL_MIN_EXT:32775 = 0x8007
Produces the minimum color components of the source and destination colors.
constant
{number}
Const GL_MIN_PROGRAM_TEXEL_OFFSET
GL_MIN_PROGRAM_TEXEL_OFFSET:35076 = 0x8904
constant
{number}
Const GL_MIRRORED_REPEAT
GL_MIRRORED_REPEAT:33648 = 0x8370
constant
{number}
Const GL_NEAREST
GL_NEAREST:9728 = 0x2600
constant
{number}
Const GL_NEAREST_MIPMAP_LINEAR
GL_NEAREST_MIPMAP_LINEAR:9986 = 0x2702
constant
{number}
Const GL_NEAREST_MIPMAP_NEAREST
GL_NEAREST_MIPMAP_NEAREST:9984 = 0x2700
constant
{number}
Const GL_NEVER
GL_NEVER:512 = 0x0200
Passed to depthFunction or stencilFunction to specify depth or stencil tests will never pass. i.e. Nothing will be drawn.
constant
{number}
Const GL_NICEST
GL_NICEST:4354 = 0x1102
The most correct or the highest quality option should be used.
constant
{number}
Const GL_NONE
GL_NONE:0 = 0
constant
{number}
Const GL_NOTEQUAL
GL_NOTEQUAL:517 = 0x0205
Passed to depthFunction or stencilFunction to specify depth or stencil tests will pass if the new depth value is not equal to the stored value.
constant
{number}
Const GL_NO_ERROR
GL_NO_ERROR:0 = 0
Returned from getError.
constant
{number}
Const GL_OBJECT_TYPE
GL_OBJECT_TYPE:37138 = 0x9112
constant
{number}
Const GL_ONE
GL_ONE:1 = 1
Passed to blendFunc or blendFuncSeparate to turn on a component.
constant
{number}
Const GL_ONE_MINUS_CONSTANT_ALPHA
GL_ONE_MINUS_CONSTANT_ALPHA:32772 = 0x8004
Passed to blendFunc or blendFuncSeparate to specify one minus a constant alpha blend function.
constant
{number}
Const GL_ONE_MINUS_CONSTANT_COLOR
GL_ONE_MINUS_CONSTANT_COLOR:32770 = 0x8002
Passed to blendFunc or blendFuncSeparate to specify one minus a constant color blend function.
constant
{number}
Const GL_ONE_MINUS_DST_ALPHA
GL_ONE_MINUS_DST_ALPHA:773 = 0x0305
Passed to blendFunc or blendFuncSeparate to multiply a component by one minus the destination's alpha.
constant
{number}
Const GL_ONE_MINUS_DST_COLOR
GL_ONE_MINUS_DST_COLOR:775 = 0x0307
Passed to blendFunc or blendFuncSeparate to multiply a component by one minus the destination's color.
constant
{number}
Const GL_ONE_MINUS_SRC_ALPHA
GL_ONE_MINUS_SRC_ALPHA:771 = 0x0303
Passed to blendFunc or blendFuncSeparate to multiply a component by one minus the source's alpha.
constant
{number}
Const GL_ONE_MINUS_SRC_COLOR
GL_ONE_MINUS_SRC_COLOR:769 = 0x0301
Passed to blendFunc or blendFuncSeparate to multiply a component by one minus the source elements color.
constant
{number}
Const GL_OUT_OF_MEMORY
GL_OUT_OF_MEMORY:1285 = 0x0505
Returned from getError.
constant
{number}
Const GL_PACK_ALIGNMENT
GL_PACK_ALIGNMENT:3333 = 0x0d05
constant
{number}
Const GL_PACK_ROW_LENGTH
GL_PACK_ROW_LENGTH:3330 = 0x0d02
constant
{number}
Const GL_PACK_SKIP_PIXELS
GL_PACK_SKIP_PIXELS:3332 = 0x0d04
constant
{number}
Const GL_PACK_SKIP_ROWS
GL_PACK_SKIP_ROWS:3331 = 0x0d03
constant
{number}
Const GL_PIXEL_PACK_BUFFER
GL_PIXEL_PACK_BUFFER:35051 = 0x88eb
constant
{number}
Const GL_PIXEL_PACK_BUFFER_BINDING
GL_PIXEL_PACK_BUFFER_BINDING:35053 = 0x88ed
constant
{number}
Const GL_PIXEL_UNPACK_BUFFER
GL_PIXEL_UNPACK_BUFFER:35052 = 0x88ec
constant
{number}
Const GL_PIXEL_UNPACK_BUFFER_BINDING
GL_PIXEL_UNPACK_BUFFER_BINDING:35055 = 0x88ef
constant
{number}
Const GL_PIXEL_UNSIGNED_BYTE
GL_PIXEL_UNSIGNED_BYTE:5121 = 0x1401
constant
{number}
Const GL_PIXEL_UNSIGNED_SHORT_4_4_4_4
GL_PIXEL_UNSIGNED_SHORT_4_4_4_4:32819 = 0x8033
constant
{number}
Const GL_PIXEL_UNSIGNED_SHORT_5_5_5_1
GL_PIXEL_UNSIGNED_SHORT_5_5_5_1:32820 = 0x8034
constant
{number}
Const GL_PIXEL_UNSIGNED_SHORT_5_6_5
GL_PIXEL_UNSIGNED_SHORT_5_6_5:33635 = 0x8363
constant
{number}
Const GL_POINTS
GL_POINTS:0 = 0x0000
Passed to drawElements or drawArrays to draw single points.
constant
{number}
Const GL_POLYGON_OFFSET_FACTOR
GL_POLYGON_OFFSET_FACTOR:32824 = 0x8038
constant
{number}
Const GL_POLYGON_OFFSET_FILL
GL_POLYGON_OFFSET_FILL:32823 = 0x8037
Passed to enable/disable to turn on/off the polygon offset. Useful for rendering hidden-line images, decals, and or solids with highlighted edges. Can also be used with getParameter to query the scissor test.
constant
{number}
Const GL_POLYGON_OFFSET_UNITS
GL_POLYGON_OFFSET_UNITS:10752 = 0x2a00
constant
{number}
Const GL_QUERY_COUNTER_BITS_EXT
GL_QUERY_COUNTER_BITS_EXT:34916 = 0x8864
The number of bits used to hold the query result for the given target.
constant
{number}
Const GL_QUERY_RESULT
GL_QUERY_RESULT:34918 = 0x8866
constant
{number}
Const GL_QUERY_RESULT_AVAILABLE
GL_QUERY_RESULT_AVAILABLE:34919 = 0x8867
constant
{number}
Const GL_QUERY_RESULT_AVAILABLE_EXT
GL_QUERY_RESULT_AVAILABLE_EXT:34919 = 0x8867
A Boolean indicating whether or not a query result is available.
Passed to enable/disable to turn on/off the alpha to coverage. Used in multi-sampling alpha channels.
constant
{number}
Const GL_SAMPLE_BUFFERS
GL_SAMPLE_BUFFERS:32936 = 0x80a8
constant
{number}
Const GL_SAMPLE_COVERAGE
GL_SAMPLE_COVERAGE:32928 = 0x80a0
Passed to enable/disable to turn on/off the sample coverage. Used in multi-sampling.
constant
{number}
Const GL_SAMPLE_COVERAGE_INVERT
GL_SAMPLE_COVERAGE_INVERT:32939 = 0x80ab
constant
{number}
Const GL_SAMPLE_COVERAGE_VALUE
GL_SAMPLE_COVERAGE_VALUE:32938 = 0x80aa
constant
{number}
Const GL_SCISSOR_BOX
GL_SCISSOR_BOX:3088 = 0x0c10
Returns an Int32Array with four elements for the current scissor box dimensions.
constant
{number}
Const GL_SCISSOR_TEST
GL_SCISSOR_TEST:3089 = 0x0c11
Passed to enable/disable to turn on/off the scissor test. Can also be used with getParameter to query the scissor test.
constant
{number}
Const GL_SEPARATE_ATTRIBS
GL_SEPARATE_ATTRIBS:35981 = 0x8c8d
constant
{number}
Const GL_SHADER_TYPE
GL_SHADER_TYPE:35663 = 0x8b4f
constant
{number}
Const GL_SHADING_LANGUAGE_VERSION
GL_SHADING_LANGUAGE_VERSION:35724 = 0x8b8c
constant
{number}
Const GL_SIGNALED
GL_SIGNALED:37145 = 0x9119
constant
{number}
Const GL_SIGNED_NORMALIZED
GL_SIGNED_NORMALIZED:36764 = 0x8f9c
constant
{number}
Const GL_SRC_ALPHA
GL_SRC_ALPHA:770 = 0x0302
Passed to blendFunc or blendFuncSeparate to multiply a component by the source's alpha.
constant
{number}
Const GL_SRC_ALPHA_SATURATE
GL_SRC_ALPHA_SATURATE:776 = 0x0308
Passed to blendFunc or blendFuncSeparate to multiply a component by the minimum of source's alpha or one minus the destination's alpha.
constant
{number}
Const GL_SRC_COLOR
GL_SRC_COLOR:768 = 0x0300
Passed to blendFunc or blendFuncSeparate to multiply a component by the source elements color.
constant
{number}
Const GL_SRGB
GL_SRGB:35904 = 0x8c40
constant
{number}
Const GL_SRGB8
GL_SRGB8:35905 = 0x8c41
constant
{number}
Const GL_SRGB8_ALPHA8
GL_SRGB8_ALPHA8:35907 = 0x8c43
constant
{number}
Const GL_SRGB8_ALPHA8_EXT
GL_SRGB8_ALPHA8_EXT:35907 = 0x8c43
Sized (8-bit) sRGB and alpha formats.
constant
{number}
Const GL_SRGB_ALPHA_EXT
GL_SRGB_ALPHA_EXT:35906 = 0x8c42
Unsized sRGB format with unsized alpha component.
constant
{number}
Const GL_SRGB_EXT
GL_SRGB_EXT:35904 = 0x8c40
Unsized sRGB format that leaves the precision up to the driver.
constant
{number}
Const GL_STATIC_COPY
GL_STATIC_COPY:35046 = 0x88e6
constant
{number}
Const GL_STATIC_DRAW
GL_STATIC_DRAW:35044 = 0x88e4
Passed to bufferData as a hint about whether the contents of the buffer are likely to be used often and not change often.
constant
{number}
Const GL_STATIC_READ
GL_STATIC_READ:35045 = 0x88e5
constant
{number}
Const GL_STENCIL
GL_STENCIL:6146 = 0x1802
constant
{number}
Const GL_STENCIL_ATTACHMENT
GL_STENCIL_ATTACHMENT:36128 = 0x8d20
constant
{number}
Const GL_STENCIL_BACK_FAIL
GL_STENCIL_BACK_FAIL:34817 = 0x8801
constant
{number}
Const GL_STENCIL_BACK_FUNC
GL_STENCIL_BACK_FUNC:34816 = 0x8800
constant
{number}
Const GL_STENCIL_BACK_PASS_DEPTH_FAIL
GL_STENCIL_BACK_PASS_DEPTH_FAIL:34818 = 0x8802
constant
{number}
Const GL_STENCIL_BACK_PASS_DEPTH_PASS
GL_STENCIL_BACK_PASS_DEPTH_PASS:34819 = 0x8803
constant
{number}
Const GL_STENCIL_BACK_REF
GL_STENCIL_BACK_REF:36003 = 0x8ca3
constant
{number}
Const GL_STENCIL_BACK_VALUE_MASK
GL_STENCIL_BACK_VALUE_MASK:36004 = 0x8ca4
constant
{number}
Const GL_STENCIL_BACK_WRITEMASK
GL_STENCIL_BACK_WRITEMASK:36005 = 0x8ca5
constant
{number}
Const GL_STENCIL_BITS
GL_STENCIL_BITS:3415 = 0x0d57
constant
{number}
Const GL_STENCIL_BUFFER_BIT
GL_STENCIL_BUFFER_BIT:1024 = 0x00000400
Passed to clear to clear the current stencil buffer.
constant
{number}
Const GL_STENCIL_CLEAR_VALUE
GL_STENCIL_CLEAR_VALUE:2961 = 0x0b91
Passed to getParameter to get the value the stencil will be cleared to.
constant
{number}
Const GL_STENCIL_FAIL
GL_STENCIL_FAIL:2964 = 0x0b94
Passed to getParameter to get the current stencil fail function. Should return KEEP, REPLACE, INCR, DECR, INVERT, INCR_WRAP, or DECR_WRAP.
constant
{number}
Const GL_STENCIL_FUNC
GL_STENCIL_FUNC:2962 = 0x0b92
Passed to getParameter to get the current stencil function. Returns NEVER, ALWAYS, LESS, EQUAL, LEQUAL, GREATER, GEQUAL, or NOTEQUAL.
constant
{number}
Const GL_STENCIL_INDEX
GL_STENCIL_INDEX:6401 = 0x1901
constant
{number}
Const GL_STENCIL_INDEX8
GL_STENCIL_INDEX8:36168 = 0x8d48
constant
{number}
Const GL_STENCIL_PASS_DEPTH_FAIL
GL_STENCIL_PASS_DEPTH_FAIL:2965 = 0x0b95
Passed to getParameter to get the current stencil fail function should the depth buffer test fail. Should return KEEP, REPLACE, INCR, DECR, INVERT, INCR_WRAP, or DECR_WRAP.
constant
{number}
Const GL_STENCIL_PASS_DEPTH_PASS
GL_STENCIL_PASS_DEPTH_PASS:2966 = 0x0b96
Passed to getParameter to get the current stencil fail function should the depth buffer test pass. Should return KEEP, REPLACE, INCR, DECR, INVERT, INCR_WRAP, or DECR_WRAP.
constant
{number}
Const GL_STENCIL_REF
GL_STENCIL_REF:2967 = 0x0b97
Passed to getParameter to get the reference value used for stencil tests.
constant
{number}
Const GL_STENCIL_TEST
GL_STENCIL_TEST:2960 = 0x0b90
Passed to enable/disable to turn on/off the stencil test. Can also be used with getParameter to query the stencil test.
constant
{number}
Const GL_STENCIL_VALUE_MASK
GL_STENCIL_VALUE_MASK:2963 = 0x0b93
constant
{number}
Const GL_STENCIL_WRITEMASK
GL_STENCIL_WRITEMASK:2968 = 0x0b98
constant
{number}
Const GL_STREAM_COPY
GL_STREAM_COPY:35042 = 0x88e2
constant
{number}
Const GL_STREAM_DRAW
GL_STREAM_DRAW:35040 = 0x88e0
Passed to bufferData as a hint about whether the contents of the buffer are likely to not be used often.
constant
{number}
Const GL_STREAM_READ
GL_STREAM_READ:35041 = 0x88e1
constant
{number}
Const GL_SUBPIXEL_BITS
GL_SUBPIXEL_BITS:3408 = 0x0d50
constant
{number}
Const GL_SYNC_CONDITION
GL_SYNC_CONDITION:37139 = 0x9113
constant
{number}
Const GL_SYNC_FENCE
GL_SYNC_FENCE:37142 = 0x9116
constant
{number}
Const GL_SYNC_FLAGS
GL_SYNC_FLAGS:37141 = 0x9115
constant
{number}
Const GL_SYNC_FLUSH_COMMANDS_BIT
GL_SYNC_FLUSH_COMMANDS_BIT:1 = 0x00000001
constant
{number}
Const GL_SYNC_GPU_COMMANDS_COMPLETE
GL_SYNC_GPU_COMMANDS_COMPLETE:37143 = 0x9117
constant
{number}
Const GL_SYNC_STATUS
GL_SYNC_STATUS:37140 = 0x9114
constant
{number}
Const GL_TEXTURE
GL_TEXTURE:5890 = 0x1702
constant
{number}
Const GL_TEXTURE0
GL_TEXTURE0:33984 = 0x84c0
A texture unit.
constant
{number}
Const GL_TEXTURE1
GL_TEXTURE1:33985 = 0x84c1
A texture unit.
constant
{number}
Const GL_TEXTURE10
GL_TEXTURE10:33994 = 0x84ca
A texture unit.
constant
{number}
Const GL_TEXTURE11
GL_TEXTURE11:33995 = 0x84cb
A texture unit.
constant
{number}
Const GL_TEXTURE12
GL_TEXTURE12:33996 = 0x84cc
A texture unit.
constant
{number}
Const GL_TEXTURE13
GL_TEXTURE13:33997 = 0x84cd
A texture unit.
constant
{number}
Const GL_TEXTURE14
GL_TEXTURE14:33998 = 0x84ce
A texture unit.
constant
{number}
Const GL_TEXTURE15
GL_TEXTURE15:33999 = 0x84cf
A texture unit.
constant
{number}
Const GL_TEXTURE16
GL_TEXTURE16:34000 = 0x84d0
A texture unit.
constant
{number}
Const GL_TEXTURE17
GL_TEXTURE17:34001 = 0x84d1
A texture unit.
constant
{number}
Const GL_TEXTURE18
GL_TEXTURE18:34002 = 0x84d2
A texture unit.
constant
{number}
Const GL_TEXTURE19
GL_TEXTURE19:34003 = 0x84d3
A texture unit.
constant
{number}
Const GL_TEXTURE2
GL_TEXTURE2:33986 = 0x84c2
A texture unit.
constant
{number}
Const GL_TEXTURE20
GL_TEXTURE20:34004 = 0x84d4
A texture unit.
constant
{number}
Const GL_TEXTURE21
GL_TEXTURE21:34005 = 0x84d5
A texture unit.
constant
{number}
Const GL_TEXTURE22
GL_TEXTURE22:34006 = 0x84d6
A texture unit.
constant
{number}
Const GL_TEXTURE23
GL_TEXTURE23:34007 = 0x84d7
A texture unit.
constant
{number}
Const GL_TEXTURE24
GL_TEXTURE24:34008 = 0x84d8
A texture unit.
constant
{number}
Const GL_TEXTURE25
GL_TEXTURE25:34009 = 0x84d9
A texture unit.
constant
{number}
Const GL_TEXTURE26
GL_TEXTURE26:34010 = 0x84da
A texture unit.
constant
{number}
Const GL_TEXTURE27
GL_TEXTURE27:34011 = 0x84db
A texture unit.
constant
{number}
Const GL_TEXTURE28
GL_TEXTURE28:34012 = 0x84dc
A texture unit.
constant
{number}
Const GL_TEXTURE29
GL_TEXTURE29:34013 = 0x84dd
A texture unit.
constant
{number}
Const GL_TEXTURE3
GL_TEXTURE3:33987 = 0x84c3
A texture unit.
constant
{number}
Const GL_TEXTURE30
GL_TEXTURE30:34014 = 0x84de
A texture unit.
constant
{number}
Const GL_TEXTURE31
GL_TEXTURE31:34015 = 0x84df
A texture unit.
constant
{number}
Const GL_TEXTURE4
GL_TEXTURE4:33988 = 0x84c4
A texture unit.
constant
{number}
Const GL_TEXTURE5
GL_TEXTURE5:33989 = 0x84c5
A texture unit.
constant
{number}
Const GL_TEXTURE6
GL_TEXTURE6:33990 = 0x84c6
A texture unit.
constant
{number}
Const GL_TEXTURE7
GL_TEXTURE7:33991 = 0x84c7
A texture unit.
constant
{number}
Const GL_TEXTURE8
GL_TEXTURE8:33992 = 0x84c8
A texture unit.
constant
{number}
Const GL_TEXTURE9
GL_TEXTURE9:33993 = 0x84c9
A texture unit.
constant
{number}
Const GL_TEXTURE_2D
GL_TEXTURE_2D:3553 = 0x0de1
constant
{number}
Const GL_TEXTURE_2D_ARRAY
GL_TEXTURE_2D_ARRAY:35866 = 0x8c1a
constant
{number}
Const GL_TEXTURE_3D
GL_TEXTURE_3D:32879 = 0x806f
constant
{number}
Const GL_TEXTURE_BASE_LEVEL
GL_TEXTURE_BASE_LEVEL:33084 = 0x813c
constant
{number}
Const GL_TEXTURE_BINDING_2D
GL_TEXTURE_BINDING_2D:32873 = 0x8069
constant
{number}
Const GL_TEXTURE_BINDING_2D_ARRAY
GL_TEXTURE_BINDING_2D_ARRAY:35869 = 0x8c1d
constant
{number}
Const GL_TEXTURE_BINDING_3D
GL_TEXTURE_BINDING_3D:32874 = 0x806a
constant
{number}
Const GL_TEXTURE_BINDING_CUBE_MAP
GL_TEXTURE_BINDING_CUBE_MAP:34068 = 0x8514
constant
{number}
Const GL_TEXTURE_COMPARE_FUNC
GL_TEXTURE_COMPARE_FUNC:34893 = 0x884d
constant
{number}
Const GL_TEXTURE_COMPARE_MODE
GL_TEXTURE_COMPARE_MODE:34892 = 0x884c
constant
{number}
Const GL_TEXTURE_CUBE_MAP
GL_TEXTURE_CUBE_MAP:34067 = 0x8513
constant
{number}
Const GL_TEXTURE_CUBE_MAP_NEGATIVE_X
GL_TEXTURE_CUBE_MAP_NEGATIVE_X:34070 = 0x8516
constant
{number}
Const GL_TEXTURE_CUBE_MAP_NEGATIVE_Y
GL_TEXTURE_CUBE_MAP_NEGATIVE_Y:34072 = 0x8518
constant
{number}
Const GL_TEXTURE_CUBE_MAP_NEGATIVE_Z
GL_TEXTURE_CUBE_MAP_NEGATIVE_Z:34074 = 0x851a
constant
{number}
Const GL_TEXTURE_CUBE_MAP_POSITIVE_X
GL_TEXTURE_CUBE_MAP_POSITIVE_X:34069 = 0x8515
constant
{number}
Const GL_TEXTURE_CUBE_MAP_POSITIVE_Y
GL_TEXTURE_CUBE_MAP_POSITIVE_Y:34071 = 0x8517
constant
{number}
Const GL_TEXTURE_CUBE_MAP_POSITIVE_Z
GL_TEXTURE_CUBE_MAP_POSITIVE_Z:34073 = 0x8519
constant
{number}
Const GL_TEXTURE_IMMUTABLE_FORMAT
GL_TEXTURE_IMMUTABLE_FORMAT:37167 = 0x912f
constant
{number}
Const GL_TEXTURE_IMMUTABLE_LEVELS
GL_TEXTURE_IMMUTABLE_LEVELS:33503 = 0x82df
constant
{number}
Const GL_TEXTURE_MAG_FILTER
GL_TEXTURE_MAG_FILTER:10240 = 0x2800
constant
{number}
Const GL_TEXTURE_MAX_ANISOTROPY_EXT
GL_TEXTURE_MAX_ANISOTROPY_EXT:34046 = 0x84fe
Passed to texParameter to set the desired maximum anisotropy for a texture.
animation path name type of animation.channel.target.path in glTF2 See: https://www.khronos.org/registry/glTF/specs/2.0/glTF-2.0.html#_animation_channels