kick.core.Constants Class
This class contains references to WebGL constants.
Constants will be replace with actual values to increase performance when the file is compile by the postprocessor.
Note that I have intentionally named the WebGL constants with a prefix 'GL_'. This allows use of normal WebGL
constants that will not be replaced by the preprocessor.
Item Index
Properties
- _ASSERT_EDITOR static
- _DEBUG static
- _DEGREE_TO_RADIAN static
- _EPSILON static
- _RADIAN_TO_DEGREE static
- _VERSION static
- GL_ACTIVE_ATTRIBUTES static
- GL_ACTIVE_TEXTURE static
- GL_ACTIVE_UNIFORMS static
- GL_ALIASED_LINE_WIDTH_RANGE static
- GL_ALIASED_POINT_SIZE_RANGE static
- GL_ALPHA static
- GL_ALPHA_BITS static
- GL_ALWAYS static
- GL_ARRAY_BUFFER static
- GL_ARRAY_BUFFER_BINDING static
- GL_ATTACHED_SHADERS static
- GL_BACK static
- GL_BLEND static
- GL_BLEND_COLOR static
- GL_BLEND_DST_ALPHA static
- GL_BLEND_DST_RGB static
- GL_BLEND_EQUATION static
- GL_BLEND_EQUATION_ALPHA static
- GL_BLEND_EQUATION_RGB static
- GL_BLEND_SRC_ALPHA static
- GL_BLEND_SRC_RGB static
- GL_BLUE_BITS static
- GL_BOOL static
- GL_BOOL_VEC2 static
- GL_BOOL_VEC3 static
- GL_BOOL_VEC4 static
- GL_BROWSER_DEFAULT_WEBGL static
- GL_BUFFER_SIZE static
- GL_BUFFER_USAGE static
- GL_BYTE static
- GL_CCW static
- GL_CLAMP_TO_EDGE static
- GL_COLOR_ATTACHMENT0 static
- GL_COLOR_ATTACHMENT1 static
- GL_COLOR_ATTACHMENT10 static
- GL_COLOR_ATTACHMENT11 static
- GL_COLOR_ATTACHMENT12 static
- GL_COLOR_ATTACHMENT13 static
- GL_COLOR_ATTACHMENT14 static
- GL_COLOR_ATTACHMENT15 static
- GL_COLOR_ATTACHMENT2 static
- GL_COLOR_ATTACHMENT3 static
- GL_COLOR_ATTACHMENT4 static
- GL_COLOR_ATTACHMENT5 static
- GL_COLOR_ATTACHMENT6 static
- GL_COLOR_ATTACHMENT7 static
- GL_COLOR_ATTACHMENT8 static
- GL_COLOR_ATTACHMENT9 static
- GL_COLOR_BUFFER_BIT static
- GL_COLOR_CLEAR_VALUE static
- GL_COLOR_WRITEMASK static
- GL_COMPILE_STATUS static
- GL_COMPRESSED_TEXTURE_FORMATS static
- GL_CONSTANT_ALPHA static
- GL_CONSTANT_COLOR static
- GL_CONTEXT_LOST_WEBGL static
- GL_CULL_FACE static
- GL_CULL_FACE_MODE static
- GL_CURRENT_PROGRAM static
- GL_CURRENT_VERTEX_ATTRIB static
- GL_CW static
- GL_DECR static
- GL_DECR_WRAP static
- GL_DELETE_STATUS static
- GL_DEPTH_ATTACHMENT static
- GL_DEPTH_BITS static
- GL_DEPTH_BUFFER_BIT static
- GL_DEPTH_CLEAR_VALUE static
- GL_DEPTH_COMPONENT static
- GL_DEPTH_COMPONENT16 static
- GL_DEPTH_FUNC static
- GL_DEPTH_RANGE static
- GL_DEPTH_STENCIL static
- GL_DEPTH_STENCIL_ATTACHMENT static
- GL_DEPTH_TEST static
- GL_DEPTH_WRITEMASK static
- GL_DITHER static
- GL_DONT_CARE static
- GL_DRAW_BUFFER0 static
- GL_DRAW_BUFFER1 static
- GL_DRAW_BUFFER10 static
- GL_DRAW_BUFFER11 static
- GL_DRAW_BUFFER12 static
- GL_DRAW_BUFFER13 static
- GL_DRAW_BUFFER14 static
- GL_DRAW_BUFFER15 static
- GL_DRAW_BUFFER2 static
- GL_DRAW_BUFFER3 static
- GL_DRAW_BUFFER4 static
- GL_DRAW_BUFFER5 static
- GL_DRAW_BUFFER6 static
- GL_DRAW_BUFFER7 static
- GL_DRAW_BUFFER8 static
- GL_DRAW_BUFFER9 static
- GL_DST_ALPHA static
- GL_DST_COLOR static
- GL_DYNAMIC_DRAW static
- GL_ELEMENT_ARRAY_BUFFER static
- GL_ELEMENT_ARRAY_BUFFER_BINDING static
- GL_EQUAL static
- GL_FASTEST static
- GL_FLOAT static
- GL_FLOAT_MAT2 static
- GL_FLOAT_MAT3 static
- GL_FLOAT_MAT4 static
- GL_FLOAT_VEC2 static
- GL_FLOAT_VEC3 static
- GL_FLOAT_VEC4 static
- GL_FRAGMENT_SHADER static
- GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES static
- GL_FRAMEBUFFER static
- GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME static
- GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE static
- GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE static
- GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL static
- GL_FRAMEBUFFER_BINDING static
- GL_FRAMEBUFFER_COMPLETE static
- GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT static
- GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS static
- GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT static
- GL_FRAMEBUFFER_UNSUPPORTED static
- GL_FRONT static
- GL_FRONT_AND_BACK static
- GL_FRONT_FACE static
- GL_FUNC_ADD static
- GL_FUNC_REVERSE_SUBTRACT static
- GL_FUNC_SUBTRACT static
- GL_GENERATE_MIPMAP_HINT static
- GL_GEQUAL static
- GL_GREATER static
- GL_GREEN_BITS static
- GL_HALF_FLOAT_OES static
- GL_HIGH_FLOAT static
- GL_HIGH_INT static
- GL_INCR static
- GL_INCR_WRAP static
- GL_INT static
- GL_INT_VEC2 static
- GL_INT_VEC3 static
- GL_INT_VEC4 static
- GL_INVALID_ENUM static
- GL_INVALID_FRAMEBUFFER_OPERATION static
- GL_INVALID_OPERATION static
- GL_INVALID_VALUE static
- GL_INVERT static
- GL_KEEP static
- GL_LEQUAL static
- GL_LESS static
- GL_LINE_LOOP static
- GL_LINE_STRIP static
- GL_LINE_WIDTH static
- GL_LINEAR static
- GL_LINEAR_MIPMAP_LINEAR static
- GL_LINEAR_MIPMAP_NEAREST static
- GL_LINES static
- GL_LINK_STATUS static
- GL_LOW_FLOAT static
- GL_LOW_INT static
- GL_LUMINANCE static
- GL_LUMINANCE_ALPHA static
- GL_MAX_COLOR_ATTACHMENTS static
- GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS static
- GL_MAX_CUBE_MAP_TEXTURE_SIZE static
- GL_MAX_DRAW_BUFFERS static
- GL_MAX_FRAGMENT_UNIFORM_VECTORS static
- GL_MAX_RENDERBUFFER_SIZE static
- GL_MAX_TEXTURE_IMAGE_UNITS static
- GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT static
- GL_MAX_TEXTURE_SIZE static
- GL_MAX_VARYING_VECTORS static
- GL_MAX_VERTEX_ATTRIBS static
- GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS static
- GL_MAX_VERTEX_UNIFORM_VECTORS static
- GL_MAX_VIEWPORT_DIMS static
- GL_MEDIUM_FLOAT static
- GL_MEDIUM_INT static
- GL_MIRRORED_REPEAT static
- GL_NEAREST static
- GL_NEAREST_MIPMAP_LINEAR static
- GL_NEAREST_MIPMAP_NEAREST static
- GL_NEVER static
- GL_NICEST static
- GL_NO_ERROR static
- GL_NONE static
- GL_NOTEQUAL static
- GL_ONE static
- GL_ONE_MINUS_CONSTANT_ALPHA static
- GL_ONE_MINUS_CONSTANT_COLOR static
- GL_ONE_MINUS_DST_ALPHA static
- GL_ONE_MINUS_DST_COLOR static
- GL_ONE_MINUS_SRC_ALPHA static
- GL_ONE_MINUS_SRC_COLOR static
- GL_OUT_OF_MEMORY static
- GL_PACK_ALIGNMENT static
- GL_POINTS static
- GL_POLYGON_OFFSET_FACTOR static
- GL_POLYGON_OFFSET_FILL static
- GL_POLYGON_OFFSET_UNITS static
- GL_RED_BITS static
- GL_RENDERBUFFER static
- GL_RENDERBUFFER_ALPHA_SIZE static
- GL_RENDERBUFFER_BINDING static
- GL_RENDERBUFFER_BLUE_SIZE static
- GL_RENDERBUFFER_DEPTH_SIZE static
- GL_RENDERBUFFER_GREEN_SIZE static
- GL_RENDERBUFFER_HEIGHT static
- GL_RENDERBUFFER_INTERNAL_FORMAT static
- GL_RENDERBUFFER_RED_SIZE static
- GL_RENDERBUFFER_STENCIL_SIZE static
- GL_RENDERBUFFER_WIDTH static
- GL_RENDERER static
- GL_REPEAT static
- GL_REPLACE static
- GL_RGB static
- GL_RGB565 static
- GL_RGB5_A1 static
- GL_RGBA static
- GL_RGBA4 static
- GL_SAMPLE_ALPHA_TO_COVERAGE static
- GL_SAMPLE_BUFFERS static
- GL_SAMPLE_COVERAGE static
- GL_SAMPLE_COVERAGE_INVERT static
- GL_SAMPLE_COVERAGE_VALUE static
- GL_SAMPLER_2D static
- GL_SAMPLER_CUBE static
- GL_SAMPLES static
- GL_SCISSOR_BOX static
- GL_SCISSOR_TEST static
- GL_SHADER_TYPE static
- GL_SHADING_LANGUAGE_VERSION static
- GL_SHORT static
- GL_SRC_ALPHA static
- GL_SRC_ALPHA_SATURATE static
- GL_SRC_COLOR static
- GL_STATIC_DRAW static
- GL_STENCIL_ATTACHMENT static
- GL_STENCIL_BACK_FAIL static
- GL_STENCIL_BACK_FUNC static
- GL_STENCIL_BACK_PASS_DEPTH_FAIL static
- GL_STENCIL_BACK_PASS_DEPTH_PASS static
- GL_STENCIL_BACK_REF static
- GL_STENCIL_BACK_VALUE_MASK static
- GL_STENCIL_BACK_WRITEMASK static
- GL_STENCIL_BITS static
- GL_STENCIL_BUFFER_BIT static
- GL_STENCIL_CLEAR_VALUE static
- GL_STENCIL_FAIL static
- GL_STENCIL_FUNC static
- GL_STENCIL_INDEX static
- GL_STENCIL_INDEX8 static
- GL_STENCIL_PASS_DEPTH_FAIL static
- GL_STENCIL_PASS_DEPTH_PASS static
- GL_STENCIL_REF static
- GL_STENCIL_TEST static
- GL_STENCIL_VALUE_MASK static
- GL_STENCIL_WRITEMASK static
- GL_STREAM_DRAW static
- GL_SUBPIXEL_BITS static
- GL_TEXTURE static
- GL_TEXTURE0 static
- GL_TEXTURE1 static
- GL_TEXTURE10 static
- GL_TEXTURE11 static
- GL_TEXTURE12 static
- GL_TEXTURE13 static
- GL_TEXTURE14 static
- GL_TEXTURE15 static
- GL_TEXTURE16 static
- GL_TEXTURE17 static
- GL_TEXTURE18 static
- GL_TEXTURE19 static
- GL_TEXTURE2 static
- GL_TEXTURE20 static
- GL_TEXTURE21 static
- GL_TEXTURE22 static
- GL_TEXTURE23 static
- GL_TEXTURE24 static
- GL_TEXTURE25 static
- GL_TEXTURE26 static
- GL_TEXTURE27 static
- GL_TEXTURE28 static
- GL_TEXTURE29 static
- GL_TEXTURE3 static
- GL_TEXTURE30 static
- GL_TEXTURE31 static
- GL_TEXTURE4 static
- GL_TEXTURE5 static
- GL_TEXTURE6 static
- GL_TEXTURE7 static
- GL_TEXTURE8 static
- GL_TEXTURE9 static
- GL_TEXTURE_2D static
- GL_TEXTURE_BINDING_2D static
- GL_TEXTURE_BINDING_CUBE_MAP static
- GL_TEXTURE_CUBE_MAP static
- GL_TEXTURE_CUBE_MAP_NEGATIVE_X static
- GL_TEXTURE_CUBE_MAP_NEGATIVE_Y static
- GL_TEXTURE_CUBE_MAP_NEGATIVE_Z static
- GL_TEXTURE_CUBE_MAP_POSITIVE_X static
- GL_TEXTURE_CUBE_MAP_POSITIVE_Y static
- GL_TEXTURE_CUBE_MAP_POSITIVE_Z static
- GL_TEXTURE_MAG_FILTER static
- GL_TEXTURE_MAX_ANISOTROPY_EXT static
- GL_TEXTURE_MIN_FILTER static
- GL_TEXTURE_WRAP_S static
- GL_TEXTURE_WRAP_T static
- GL_TRIANGLE_FAN static
- GL_TRIANGLE_STRIP static
- GL_TRIANGLES static
- GL_UNPACK_ALIGNMENT static
- GL_UNPACK_COLORSPACE_CONVERSION_WEBGL static
- GL_UNPACK_FLIP_Y_WEBGL static
- GL_UNPACK_PREMULTIPLY_ALPHA_WEBGL static
- GL_UNSIGNED_BYTE static
- GL_UNSIGNED_INT static
- GL_UNSIGNED_INT_24_8_WEBGL static
- GL_UNSIGNED_SHORT static
- GL_UNSIGNED_SHORT_4_4_4_4 static
- GL_UNSIGNED_SHORT_5_5_5_1 static
- GL_UNSIGNED_SHORT_5_6_5 static
- GL_VALIDATE_STATUS static
- GL_VENDOR static
- GL_VERSION static
- GL_VERTEX_ARRAY_BINDING_OES static
- GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING static
- GL_VERTEX_ATTRIB_ARRAY_ENABLED static
- GL_VERTEX_ATTRIB_ARRAY_NORMALIZED static
- GL_VERTEX_ATTRIB_ARRAY_POINTER static
- GL_VERTEX_ATTRIB_ARRAY_SIZE static
- GL_VERTEX_ATTRIB_ARRAY_STRIDE static
- GL_VERTEX_ATTRIB_ARRAY_TYPE static
- GL_VERTEX_SHADER static
- GL_VIEWPORT static
- GL_ZERO static
Properties
_ASSERT_EDITOR
Boolean
final
static
Allows usage of assertions in the code. The assertions will be set to false in the "compiled" code (this
will remove dead code in the minify-stage).
Example usage:
Example:
var constants = kick.core.Constants;
if (constants._ASSERT){
if (!Number.isNumber(x)){
kick.core.Util.fail("x should be a number");
}
}
_DEBUG
Boolean
final
static
Allows usage of debugging in the script code. The flag can be set to false in the "compiled" code (this
will remove dead code in the minify-stage).
Example usage:
Example:
var constants = kick.core.Constants;
if (constants._DEBUG){
console.log("X is now "+x);
}
_DEGREE_TO_RADIAN
Number
final
static
Value 0.01745329251994
_EPSILON
Number
final
static
Value 0.00001
_RADIAN_TO_DEGREE
Number
final
static
Value 57.2957795130824
_VERSION
String
final
static
The current version of the library
GL_ACTIVE_ATTRIBUTES
Number
final
static
Value 35721
GL_ACTIVE_TEXTURE
Number
final
static
Value 34016
GL_ACTIVE_UNIFORMS
Number
final
static
Value 35718
GL_ALIASED_LINE_WIDTH_RANGE
Number
final
static
Value 33902
GL_ALIASED_POINT_SIZE_RANGE
Number
final
static
Value 33901
GL_ALPHA
Number
final
static
Value 6406
GL_ALPHA_BITS
Number
final
static
Value 3413
GL_ALWAYS
Number
final
static
Value 519
GL_ARRAY_BUFFER
Number
final
static
Value 34962
GL_ARRAY_BUFFER_BINDING
Number
final
static
Value 34964
GL_ATTACHED_SHADERS
Number
final
static
Value 35717
GL_BACK
Number
final
static
Value 1029
GL_BLEND
Number
final
static
Value 3042
GL_BLEND_COLOR
Number
final
static
Value 32773
GL_BLEND_DST_ALPHA
Number
final
static
Value 32970
GL_BLEND_DST_RGB
Number
final
static
Value 32968
GL_BLEND_EQUATION
Number
final
static
Value 32777
GL_BLEND_EQUATION_ALPHA
Number
final
static
Value 34877
GL_BLEND_EQUATION_RGB
Number
final
static
Value 32777
GL_BLEND_SRC_ALPHA
Number
final
static
Value 32971
GL_BLEND_SRC_RGB
Number
final
static
Value 32969
GL_BLUE_BITS
Number
final
static
Value 3412
GL_BOOL
Number
final
static
Value 35670
GL_BOOL_VEC2
Number
final
static
Value 35671
GL_BOOL_VEC3
Number
final
static
Value 35672
GL_BOOL_VEC4
Number
final
static
Value 35673
GL_BROWSER_DEFAULT_WEBGL
Number
final
static
Value 37444
GL_BUFFER_SIZE
Number
final
static
Value 34660
GL_BUFFER_USAGE
Number
final
static
Value 34661
GL_BYTE
Number
final
static
Value 5120
GL_CCW
Number
final
static
Value 2305
GL_CLAMP_TO_EDGE
Number
final
static
Value 33071
GL_COLOR_ATTACHMENT0
Number
final
static
Value 36064
GL_COLOR_ATTACHMENT1
Number
final
static
Value 36065
GL_COLOR_ATTACHMENT10
Number
final
static
Value 36074
GL_COLOR_ATTACHMENT11
Number
final
static
Value 36075
GL_COLOR_ATTACHMENT12
Number
final
static
Value 36076
GL_COLOR_ATTACHMENT13
Number
final
static
Value 36077
GL_COLOR_ATTACHMENT14
Number
final
static
Value 36078
GL_COLOR_ATTACHMENT15
Number
final
static
Value 36079
GL_COLOR_ATTACHMENT2
Number
final
static
Value 36066
GL_COLOR_ATTACHMENT3
Number
final
static
Value 36067
GL_COLOR_ATTACHMENT4
Number
final
static
Value 36068
GL_COLOR_ATTACHMENT5
Number
final
static
Value 36069
GL_COLOR_ATTACHMENT6
Number
final
static
Value 36070
GL_COLOR_ATTACHMENT7
Number
final
static
Value 36071
GL_COLOR_ATTACHMENT8
Number
final
static
Value 36072
GL_COLOR_ATTACHMENT9
Number
final
static
Value 36073
GL_COLOR_BUFFER_BIT
Number
final
static
Value 16384
GL_COLOR_CLEAR_VALUE
Number
final
static
Value 3106
GL_COLOR_WRITEMASK
Number
final
static
Value 3107
GL_COMPILE_STATUS
Number
final
static
Value 35713
GL_COMPRESSED_TEXTURE_FORMATS
Number
final
static
Value 34467
GL_CONSTANT_ALPHA
Number
final
static
Value 32771
GL_CONSTANT_COLOR
Number
final
static
Value 32769
GL_CONTEXT_LOST_WEBGL
Number
final
static
Value 37442
GL_CULL_FACE
Number
final
static
Value 2884
GL_CULL_FACE_MODE
Number
final
static
Value 2885
GL_CURRENT_PROGRAM
Number
final
static
Value 35725
GL_CURRENT_VERTEX_ATTRIB
Number
final
static
Value 34342
GL_CW
Number
final
static
Value 2304
GL_DECR
Number
final
static
Value 7683
GL_DECR_WRAP
Number
final
static
Value 34056
GL_DELETE_STATUS
Number
final
static
Value 35712
GL_DEPTH_ATTACHMENT
Number
final
static
Value 36096
GL_DEPTH_BITS
Number
final
static
Value 3414
GL_DEPTH_BUFFER_BIT
Number
final
static
Value 256
GL_DEPTH_CLEAR_VALUE
Number
final
static
Value 2931
GL_DEPTH_COMPONENT
Number
final
static
Value 6402
GL_DEPTH_COMPONENT16
Number
final
static
Value 33189
GL_DEPTH_FUNC
Number
final
static
Value 2932
GL_DEPTH_RANGE
Number
final
static
Value 2928
GL_DEPTH_STENCIL
Number
final
static
Value 34041
GL_DEPTH_STENCIL_ATTACHMENT
Number
final
static
Value 33306
GL_DEPTH_TEST
Number
final
static
Value 2929
GL_DEPTH_WRITEMASK
Number
final
static
Value 2930
GL_DITHER
Number
final
static
Value 3024
GL_DONT_CARE
Number
final
static
Value 4352
GL_DRAW_BUFFER0
Number
final
static
Value 34853
GL_DRAW_BUFFER1
Number
final
static
Value 34854
GL_DRAW_BUFFER10
Number
final
static
Value 34863
GL_DRAW_BUFFER11
Number
final
static
Value 34864
GL_DRAW_BUFFER12
Number
final
static
Value 34865
GL_DRAW_BUFFER13
Number
final
static
Value 34866
GL_DRAW_BUFFER14
Number
final
static
Value 34867
GL_DRAW_BUFFER15
Number
final
static
Value 34868
GL_DRAW_BUFFER2
Number
final
static
Value 34855
GL_DRAW_BUFFER3
Number
final
static
Value 34856
GL_DRAW_BUFFER4
Number
final
static
Value 34857
GL_DRAW_BUFFER5
Number
final
static
Value 34858
GL_DRAW_BUFFER6
Number
final
static
Value 34859
GL_DRAW_BUFFER7
Number
final
static
Value 34860
GL_DRAW_BUFFER8
Number
final
static
Value 34861
GL_DRAW_BUFFER9
Number
final
static
Value 34862
GL_DST_ALPHA
Number
final
static
Value 772
GL_DST_COLOR
Number
final
static
Value 774
GL_DYNAMIC_DRAW
Number
final
static
Value 35048
GL_ELEMENT_ARRAY_BUFFER
Number
final
static
Value 34963
GL_ELEMENT_ARRAY_BUFFER_BINDING
Number
final
static
Value 34965
GL_EQUAL
Number
final
static
Value 514
GL_FASTEST
Number
final
static
Value 4353
GL_FLOAT
Number
final
static
Value 5126
GL_FLOAT_MAT2
Number
final
static
Value 35674
GL_FLOAT_MAT3
Number
final
static
Value 35675
GL_FLOAT_MAT4
Number
final
static
Value 35676
GL_FLOAT_VEC2
Number
final
static
Value 35664
GL_FLOAT_VEC3
Number
final
static
Value 35665
GL_FLOAT_VEC4
Number
final
static
Value 35666
GL_FRAGMENT_SHADER
Number
final
static
Value 35632
GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES
Number
final
static
Value 35723
GL_FRAMEBUFFER
Number
final
static
Value 36160
GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME
Number
final
static
Value 36049
GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE
Number
final
static
Value 36048
GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE
Number
final
static
Value 36051
GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL
Number
final
static
Value 36050
GL_FRAMEBUFFER_BINDING
Number
final
static
Value 36006
GL_FRAMEBUFFER_COMPLETE
Number
final
static
Value 36053
GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT
Number
final
static
Value 36054
GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS
Number
final
static
Value 36057
GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT
Number
final
static
Value 36055
GL_FRAMEBUFFER_UNSUPPORTED
Number
final
static
Value 36061
GL_FRONT
Number
final
static
Value 1028
GL_FRONT_AND_BACK
Number
final
static
Value 1032
GL_FRONT_FACE
Number
final
static
Value 2886
GL_FUNC_ADD
Number
final
static
Value 32774
GL_FUNC_REVERSE_SUBTRACT
Number
final
static
Value 32779
GL_FUNC_SUBTRACT
Number
final
static
Value 32778
GL_GENERATE_MIPMAP_HINT
Number
final
static
Value 33170
GL_GEQUAL
Number
final
static
Value 518
GL_GREATER
Number
final
static
Value 516
GL_GREEN_BITS
Number
final
static
Value 3411
GL_HALF_FLOAT_OES
Number
final
static
Value 36193
GL_HIGH_FLOAT
Number
final
static
Value 36338
GL_HIGH_INT
Number
final
static
Value 36341
GL_INCR
Number
final
static
Value 7682
GL_INCR_WRAP
Number
final
static
Value 34055
GL_INT
Number
final
static
Value 5124
GL_INT_VEC2
Number
final
static
Value 35667
GL_INT_VEC3
Number
final
static
Value 35668
GL_INT_VEC4
Number
final
static
Value 35669
GL_INVALID_ENUM
Number
final
static
Value 1280
GL_INVALID_FRAMEBUFFER_OPERATION
Number
final
static
Value 1286
GL_INVALID_OPERATION
Number
final
static
Value 1282
GL_INVALID_VALUE
Number
final
static
Value 1281
GL_INVERT
Number
final
static
Value 5386
GL_KEEP
Number
final
static
Value 7680
GL_LEQUAL
Number
final
static
Value 515
GL_LESS
Number
final
static
Value 513
GL_LINE_LOOP
Number
final
static
Value 2
GL_LINE_STRIP
Number
final
static
Value 3
GL_LINE_WIDTH
Number
final
static
Value 2849
GL_LINEAR
Number
final
static
Value 9729
GL_LINEAR_MIPMAP_LINEAR
Number
final
static
Value 9987
GL_LINEAR_MIPMAP_NEAREST
Number
final
static
Value 9985
GL_LINES
Number
final
static
Value 1
GL_LINK_STATUS
Number
final
static
Value 35714
GL_LOW_FLOAT
Number
final
static
Value 36336
GL_LOW_INT
Number
final
static
Value 36339
GL_LUMINANCE
Number
final
static
Value 6409
GL_LUMINANCE_ALPHA
Number
final
static
Value 6410
GL_MAX_COLOR_ATTACHMENTS
Number
final
static
Value 36063
GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS
Number
final
static
Value 35661
GL_MAX_CUBE_MAP_TEXTURE_SIZE
Number
final
static
Value 34076
GL_MAX_DRAW_BUFFERS
Number
final
static
Value 34852
GL_MAX_FRAGMENT_UNIFORM_VECTORS
Number
final
static
Value 36349
GL_MAX_RENDERBUFFER_SIZE
Number
final
static
Value 34024
GL_MAX_TEXTURE_IMAGE_UNITS
Number
final
static
Value 34930
GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT
Number
final
static
Value 34047
GL_MAX_TEXTURE_SIZE
Number
final
static
Value 3379
GL_MAX_VARYING_VECTORS
Number
final
static
Value 36348
GL_MAX_VERTEX_ATTRIBS
Number
final
static
Value 34921
GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS
Number
final
static
Value 35660
GL_MAX_VERTEX_UNIFORM_VECTORS
Number
final
static
Value 36347
GL_MAX_VIEWPORT_DIMS
Number
final
static
Value 3386
GL_MEDIUM_FLOAT
Number
final
static
Value 36337
GL_MEDIUM_INT
Number
final
static
Value 36340
GL_MIRRORED_REPEAT
Number
final
static
Value 33648
GL_NEAREST
Number
final
static
Value 9728
GL_NEAREST_MIPMAP_LINEAR
Number
final
static
Value 9986
GL_NEAREST_MIPMAP_NEAREST
Number
final
static
Value 9984
GL_NEVER
Number
final
static
Value 512
GL_NICEST
Number
final
static
Value 4354
GL_NO_ERROR
Number
final
static
Value 0
GL_NONE
Number
final
static
Value 0
GL_NOTEQUAL
Number
final
static
Value 517
GL_ONE
Number
final
static
Value 1
GL_ONE_MINUS_CONSTANT_ALPHA
Number
final
static
Value 32772
GL_ONE_MINUS_CONSTANT_COLOR
Number
final
static
Value 32770
GL_ONE_MINUS_DST_ALPHA
Number
final
static
Value 773
GL_ONE_MINUS_DST_COLOR
Number
final
static
Value 775
GL_ONE_MINUS_SRC_ALPHA
Number
final
static
Value 771
GL_ONE_MINUS_SRC_COLOR
Number
final
static
Value 769
GL_OUT_OF_MEMORY
Number
final
static
Value 1285
GL_PACK_ALIGNMENT
Number
final
static
Value 3333
GL_POINTS
Number
final
static
Value 0
GL_POLYGON_OFFSET_FACTOR
Number
final
static
Value 32824
GL_POLYGON_OFFSET_FILL
Number
final
static
Value 32823
GL_POLYGON_OFFSET_UNITS
Number
final
static
Value 10752
GL_RED_BITS
Number
final
static
Value 3410
GL_RENDERBUFFER
Number
final
static
Value 36161
GL_RENDERBUFFER_ALPHA_SIZE
Number
final
static
Value 36179
GL_RENDERBUFFER_BINDING
Number
final
static
Value 36007
GL_RENDERBUFFER_BLUE_SIZE
Number
final
static
Value 36178
GL_RENDERBUFFER_DEPTH_SIZE
Number
final
static
Value 36180
GL_RENDERBUFFER_GREEN_SIZE
Number
final
static
Value 36177
GL_RENDERBUFFER_HEIGHT
Number
final
static
Value 36163
GL_RENDERBUFFER_INTERNAL_FORMAT
Number
final
static
Value 36164
GL_RENDERBUFFER_RED_SIZE
Number
final
static
Value 36176
GL_RENDERBUFFER_STENCIL_SIZE
Number
final
static
Value 36181
GL_RENDERBUFFER_WIDTH
Number
final
static
Value 36162
GL_RENDERER
Number
final
static
Value 7937
GL_REPEAT
Number
final
static
Value 10497
GL_REPLACE
Number
final
static
Value 7681
GL_RGB
Number
final
static
Value 6407
GL_RGB565
Number
final
static
Value 36194
GL_RGB5_A1
Number
final
static
Value 32855
GL_RGBA
Number
final
static
Value 6408
GL_RGBA4
Number
final
static
Value 32854
GL_SAMPLE_ALPHA_TO_COVERAGE
Number
final
static
Value 32926
GL_SAMPLE_BUFFERS
Number
final
static
Value 32936
GL_SAMPLE_COVERAGE
Number
final
static
Value 32928
GL_SAMPLE_COVERAGE_INVERT
Number
final
static
Value 32939
GL_SAMPLE_COVERAGE_VALUE
Number
final
static
Value 32938
GL_SAMPLER_2D
Number
final
static
Value 35678
GL_SAMPLER_CUBE
Number
final
static
Value 35680
GL_SAMPLES
Number
final
static
Value 32937
GL_SCISSOR_BOX
Number
final
static
Value 3088
GL_SCISSOR_TEST
Number
final
static
Value 3089
GL_SHADER_TYPE
Number
final
static
Value 35663
GL_SHADING_LANGUAGE_VERSION
Number
final
static
Value 35724
GL_SHORT
Number
final
static
Value 5122
GL_SRC_ALPHA
Number
final
static
Value 770
GL_SRC_ALPHA_SATURATE
Number
final
static
Value 776
GL_SRC_COLOR
Number
final
static
Value 768
GL_STATIC_DRAW
Number
final
static
Value 35044
GL_STENCIL_ATTACHMENT
Number
final
static
Value 36128
GL_STENCIL_BACK_FAIL
Number
final
static
Value 34817
GL_STENCIL_BACK_FUNC
Number
final
static
Value 34816
GL_STENCIL_BACK_PASS_DEPTH_FAIL
Number
final
static
Value 34818
GL_STENCIL_BACK_PASS_DEPTH_PASS
Number
final
static
Value 34819
GL_STENCIL_BACK_REF
Number
final
static
Value 36003
GL_STENCIL_BACK_VALUE_MASK
Number
final
static
Value 36004
GL_STENCIL_BACK_WRITEMASK
Number
final
static
Value 36005
GL_STENCIL_BITS
Number
final
static
Value 3415
GL_STENCIL_BUFFER_BIT
Number
final
static
Value 1024
GL_STENCIL_CLEAR_VALUE
Number
final
static
Value 2961
GL_STENCIL_FAIL
Number
final
static
Value 2964
GL_STENCIL_FUNC
Number
final
static
Value 2962
GL_STENCIL_INDEX
Number
final
static
Value 6401
GL_STENCIL_INDEX8
Number
final
static
Value 36168
GL_STENCIL_PASS_DEPTH_FAIL
Number
final
static
Value 2965
GL_STENCIL_PASS_DEPTH_PASS
Number
final
static
Value 2966
GL_STENCIL_REF
Number
final
static
Value 2967
GL_STENCIL_TEST
Number
final
static
Value 2960
GL_STENCIL_VALUE_MASK
Number
final
static
Value 2963
GL_STENCIL_WRITEMASK
Number
final
static
Value 2968
GL_STREAM_DRAW
Number
final
static
Value 35040
GL_SUBPIXEL_BITS
Number
final
static
Value 3408
GL_TEXTURE
Number
final
static
Value 5890
GL_TEXTURE0
Number
final
static
Value 33984
GL_TEXTURE1
Number
final
static
Value 33985
GL_TEXTURE10
Number
final
static
Value 33994
GL_TEXTURE11
Number
final
static
Value 33995
GL_TEXTURE12
Number
final
static
Value 33996
GL_TEXTURE13
Number
final
static
Value 33997
GL_TEXTURE14
Number
final
static
Value 33998
GL_TEXTURE15
Number
final
static
Value 33999
GL_TEXTURE16
Number
final
static
Value 34000
GL_TEXTURE17
Number
final
static
Value 34001
GL_TEXTURE18
Number
final
static
Value 34002
GL_TEXTURE19
Number
final
static
Value 34003
GL_TEXTURE2
Number
final
static
Value 33986
GL_TEXTURE20
Number
final
static
Value 34004
GL_TEXTURE21
Number
final
static
Value 34005
GL_TEXTURE22
Number
final
static
Value 34006
GL_TEXTURE23
Number
final
static
Value 34007
GL_TEXTURE24
Number
final
static
Value 34008
GL_TEXTURE25
Number
final
static
Value 34009
GL_TEXTURE26
Number
final
static
Value 34010
GL_TEXTURE27
Number
final
static
Value 34011
GL_TEXTURE28
Number
final
static
Value 34012
GL_TEXTURE29
Number
final
static
Value 34013
GL_TEXTURE3
Number
final
static
Value 33987
GL_TEXTURE30
Number
final
static
Value 34014
GL_TEXTURE31
Number
final
static
Value 34015
GL_TEXTURE4
Number
final
static
Value 33988
GL_TEXTURE5
Number
final
static
Value 33989
GL_TEXTURE6
Number
final
static
Value 33990
GL_TEXTURE7
Number
final
static
Value 33991
GL_TEXTURE8
Number
final
static
Value 33992
GL_TEXTURE9
Number
final
static
Value 33993
GL_TEXTURE_2D
Number
final
static
Value 3553
GL_TEXTURE_BINDING_2D
Number
final
static
Value 32873
GL_TEXTURE_BINDING_CUBE_MAP
Number
final
static
Value 34068
GL_TEXTURE_CUBE_MAP
Number
final
static
Value 34067
GL_TEXTURE_CUBE_MAP_NEGATIVE_X
Number
final
static
Value 34070
GL_TEXTURE_CUBE_MAP_NEGATIVE_Y
Number
final
static
Value 34072
GL_TEXTURE_CUBE_MAP_NEGATIVE_Z
Number
final
static
Value 34074
GL_TEXTURE_CUBE_MAP_POSITIVE_X
Number
final
static
Value 34069
GL_TEXTURE_CUBE_MAP_POSITIVE_Y
Number
final
static
Value 34071
GL_TEXTURE_CUBE_MAP_POSITIVE_Z
Number
final
static
Value 34073
GL_TEXTURE_MAG_FILTER
Number
final
static
Value 10240
GL_TEXTURE_MAX_ANISOTROPY_EXT
Number
final
static
Value 34046
GL_TEXTURE_MIN_FILTER
Number
final
static
Value 10241
GL_TEXTURE_WRAP_S
Number
final
static
Value 10242
GL_TEXTURE_WRAP_T
Number
final
static
Value 10243
GL_TRIANGLE_FAN
Number
final
static
Value 6
GL_TRIANGLE_STRIP
Number
final
static
Value 5
GL_TRIANGLES
Number
final
static
Value 4
GL_UNPACK_ALIGNMENT
Number
final
static
Value 3317
GL_UNPACK_COLORSPACE_CONVERSION_WEBGL
Number
final
static
Value 37443
GL_UNPACK_FLIP_Y_WEBGL
Number
final
static
Value 37440
GL_UNPACK_PREMULTIPLY_ALPHA_WEBGL
Number
final
static
Value 37441
GL_UNSIGNED_BYTE
Number
final
static
Value 5121
GL_UNSIGNED_INT
Number
final
static
Value 5125
GL_UNSIGNED_INT_24_8_WEBGL
Number
final
static
Value 34042
GL_UNSIGNED_SHORT
Number
final
static
Value 5123
GL_UNSIGNED_SHORT_4_4_4_4
Number
final
static
Value 32819
GL_UNSIGNED_SHORT_5_5_5_1
Number
final
static
Value 32820
GL_UNSIGNED_SHORT_5_6_5
Number
final
static
Value 33635
GL_VALIDATE_STATUS
Number
final
static
Value 35715
GL_VENDOR
Number
final
static
Value 7936
GL_VERSION
Number
final
static
Value 7938
GL_VERTEX_ARRAY_BINDING_OES
Number
final
static
Value 34229
GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING
Number
final
static
Value 34975
GL_VERTEX_ATTRIB_ARRAY_ENABLED
Number
final
static
Value 34338
GL_VERTEX_ATTRIB_ARRAY_NORMALIZED
Number
final
static
Value 34922
GL_VERTEX_ATTRIB_ARRAY_POINTER
Number
final
static
Value 34373
GL_VERTEX_ATTRIB_ARRAY_SIZE
Number
final
static
Value 34339
GL_VERTEX_ATTRIB_ARRAY_STRIDE
Number
final
static
Value 34340
GL_VERTEX_ATTRIB_ARRAY_TYPE
Number
final
static
Value 34341
GL_VERTEX_SHADER
Number
final
static
Value 35633
GL_VIEWPORT
Number
final
static
Value 2978
GL_ZERO
Number
final
static
Value 0