3 DEPTH_BUFFER_BIT = 0x00000100
\r
4 STENCIL_BUFFER_BIT = 0x00000400
\r
5 COLOR_BUFFER_BIT = 0x00004000
\r
13 TRIANGLE_STRIP = 0x0005
\r
14 TRIANGLE_FAN = 0x0006
\r
18 ONE_MINUS_SRC_COLOR = 0x0301
\r
20 ONE_MINUS_SRC_ALPHA = 0x0303
\r
22 ONE_MINUS_DST_ALPHA = 0x0305
\r
24 ONE_MINUS_DST_COLOR = 0x0307
\r
25 SRC_ALPHA_SATURATE = 0x0308
\r
27 BLEND_EQUATION = 0x8009
\r
28 BLEND_EQUATION_RGB = 0x8009 /* same as BLEND_EQUATION */
\r
29 BLEND_EQUATION_ALPHA = 0x883D
\r
30 FUNC_SUBTRACT = 0x800A
\r
31 FUNC_REVERSE_SUBTRACT = 0x800B
\r
32 BLEND_DST_RGB = 0x80C8
\r
33 BLEND_SRC_RGB = 0x80C9
\r
34 BLEND_DST_ALPHA = 0x80CA
\r
35 BLEND_SRC_ALPHA = 0x80CB
\r
36 CONSTANT_COLOR = 0x8001
\r
37 ONE_MINUS_CONSTANT_COLOR = 0x8002
\r
38 CONSTANT_ALPHA = 0x8003
\r
39 ONE_MINUS_CONSTANT_ALPHA = 0x8004
\r
40 BLEND_COLOR = 0x8005
\r
41 ARRAY_BUFFER = 0x8892
\r
42 ELEMENT_ARRAY_BUFFER = 0x8893
\r
43 ARRAY_BUFFER_BINDING = 0x8894
\r
44 ELEMENT_ARRAY_BUFFER_BINDING = 0x8895
\r
45 STREAM_DRAW = 0x88E0
\r
46 STATIC_DRAW = 0x88E4
\r
47 DYNAMIC_DRAW = 0x88E8
\r
48 BUFFER_SIZE = 0x8764
\r
49 BUFFER_USAGE = 0x8765
\r
50 CURRENT_VERTEX_ATTRIB = 0x8626
\r
53 FRONT_AND_BACK = 0x0408
\r
58 STENCIL_TEST = 0x0B90
\r
60 SCISSOR_TEST = 0x0C11
\r
61 POLYGON_OFFSET_FILL = 0x8037
\r
62 SAMPLE_ALPHA_TO_COVERAGE = 0x809E
\r
63 SAMPLE_COVERAGE = 0x80A0
\r
65 INVALID_ENUM = 0x0500
\r
66 INVALID_VALUE = 0x0501
\r
67 INVALID_OPERATION = 0x0502
\r
68 OUT_OF_MEMORY = 0x0505
\r
72 ALIASED_POINT_SIZE_RANGE = 0x846D
\r
73 ALIASED_LINE_WIDTH_RANGE = 0x846E
\r
74 CULL_FACE_MODE = 0x0B45
\r
76 DEPTH_RANGE = 0x0B70
\r
77 DEPTH_WRITEMASK = 0x0B72
\r
78 DEPTH_CLEAR_VALUE = 0x0B73
\r
80 STENCIL_CLEAR_VALUE = 0x0B91
\r
81 STENCIL_FUNC = 0x0B92
\r
82 STENCIL_FAIL = 0x0B94
\r
83 STENCIL_PASS_DEPTH_FAIL = 0x0B95
\r
84 STENCIL_PASS_DEPTH_PASS = 0x0B96
\r
85 STENCIL_REF = 0x0B97
\r
86 STENCIL_VALUE_MASK = 0x0B93
\r
87 STENCIL_WRITEMASK = 0x0B98
\r
88 STENCIL_BACK_FUNC = 0x8800
\r
89 STENCIL_BACK_FAIL = 0x8801
\r
90 STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802
\r
91 STENCIL_BACK_PASS_DEPTH_PASS = 0x8803
\r
92 STENCIL_BACK_REF = 0x8CA3
\r
93 STENCIL_BACK_VALUE_MASK = 0x8CA4
\r
94 STENCIL_BACK_WRITEMASK = 0x8CA5
\r
96 SCISSOR_BOX = 0x0C10
\r
97 COLOR_CLEAR_VALUE = 0x0C22
\r
98 COLOR_WRITEMASK = 0x0C23
\r
99 UNPACK_ALIGNMENT = 0x0CF5
\r
100 PACK_ALIGNMENT = 0x0D05
\r
101 MAX_TEXTURE_SIZE = 0x0D33
\r
102 MAX_VIEWPORT_DIMS = 0x0D3A
\r
103 SUBPIXEL_BITS = 0x0D50
\r
105 GREEN_BITS = 0x0D53
\r
107 ALPHA_BITS = 0x0D55
\r
108 DEPTH_BITS = 0x0D56
\r
109 STENCIL_BITS = 0x0D57
\r
110 POLYGON_OFFSET_UNITS = 0x2A00
\r
111 POLYGON_OFFSET_FACTOR = 0x8038
\r
112 TEXTURE_BINDING_2D = 0x8069
\r
113 SAMPLE_BUFFERS = 0x80A8
\r
115 SAMPLE_COVERAGE_VALUE = 0x80AA
\r
116 SAMPLE_COVERAGE_INVERT = 0x80AB
\r
117 NUM_COMPRESSED_TEXTURE_FORMATS= 0x86A2
\r
118 COMPRESSED_TEXTURE_FORMATS = 0x86A3
\r
122 GENERATE_MIPMAP_HINT = 0x8192
\r
124 UNSIGNED_BYTE = 0x1401
\r
126 UNSIGNED_SHORT = 0x1403
\r
128 UNSIGNED_INT = 0x1405
\r
131 DEPTH_COMPONENT = 0x1902
\r
136 LUMINANCE_ALPHA = 0x190A
\r
137 UNSIGNED_SHORT_4_4_4_4 = 0x8033
\r
138 UNSIGNED_SHORT_5_5_5_1 = 0x8034
\r
139 UNSIGNED_SHORT_5_6_5 = 0x8363
\r
140 FRAGMENT_SHADER = 0x8B30
\r
141 VERTEX_SHADER = 0x8B31
\r
142 MAX_VERTEX_ATTRIBS = 0x8869
\r
143 MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB
\r
144 MAX_VARYING_VECTORS = 0x8DFC
\r
145 MAX_COMBINED_TEXTURE_IMAGE_UNITS= 0x8B4D
\r
146 MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C
\r
147 MAX_TEXTURE_IMAGE_UNITS = 0x8872
\r
148 MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD
\r
149 SHADER_TYPE = 0x8B4F
\r
150 DELETE_STATUS = 0x8B80
\r
151 LINK_STATUS = 0x8B82
\r
152 VALIDATE_STATUS = 0x8B83
\r
153 ATTACHED_SHADERS = 0x8B85
\r
154 ACTIVE_UNIFORMS = 0x8B86
\r
155 ACTIVE_UNIFORM_MAX_LENGTH = 0x8B87
\r
156 ACTIVE_ATTRIBUTES = 0x8B89
\r
157 ACTIVE_ATTRIBUTE_MAX_LENGTH = 0x8B8A
\r
158 SHADING_LANGUAGE_VERSION = 0x8B8C
\r
159 CURRENT_PROGRAM = 0x8B8D
\r
178 EXTENSIONS = 0x1F03
\r
181 NEAREST_MIPMAP_NEAREST = 0x2700
\r
182 LINEAR_MIPMAP_NEAREST = 0x2701
\r
183 NEAREST_MIPMAP_LINEAR = 0x2702
\r
184 LINEAR_MIPMAP_LINEAR = 0x2703
\r
185 TEXTURE_MAG_FILTER = 0x2800
\r
186 TEXTURE_MIN_FILTER = 0x2801
\r
187 TEXTURE_WRAP_S = 0x2802
\r
188 TEXTURE_WRAP_T = 0x2803
\r
190 TEXTURE_CUBE_MAP = 0x8513
\r
191 TEXTURE_BINDING_CUBE_MAP = 0x8514
\r
192 TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515
\r
193 TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516
\r
194 TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517
\r
195 TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518
\r
196 TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519
\r
197 TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A
\r
198 MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C
\r
231 ACTIVE_TEXTURE = 0x84E0
\r
233 CLAMP_TO_EDGE = 0x812F
\r
234 MIRRORED_REPEAT = 0x8370
\r
235 FLOAT_VEC2 = 0x8B50
\r
236 FLOAT_VEC3 = 0x8B51
\r
237 FLOAT_VEC4 = 0x8B52
\r
245 FLOAT_MAT2 = 0x8B5A
\r
246 FLOAT_MAT3 = 0x8B5B
\r
247 FLOAT_MAT4 = 0x8B5C
\r
248 SAMPLER_2D = 0x8B5E
\r
249 SAMPLER_CUBE = 0x8B60
\r
250 VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622
\r
251 VERTEX_ATTRIB_ARRAY_SIZE = 0x8623
\r
252 VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624
\r
253 VERTEX_ATTRIB_ARRAY_TYPE = 0x8625
\r
254 VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A
\r
255 VERTEX_ATTRIB_ARRAY_POINTER = 0x8645
\r
256 VERTEX_ATTRIB_ARRAY_BUFFER_BINDING= 0x889F
\r
257 IMPLEMENTATION_COLOR_READ_TYPE = 0x8B9A
\r
258 IMPLEMENTATION_COLOR_READ_FORMAT= 0x8B9B
\r
259 COMPILE_STATUS = 0x8B81
\r
260 INFO_LOG_LENGTH = 0x8B84
\r
261 SHADER_SOURCE_LENGTH = 0x8B88
\r
262 SHADER_COMPILER = 0x8DFA
\r
263 SHADER_BINARY_FORMATS = 0x8DF8
\r
264 NUM_SHADER_BINARY_FORMATS = 0x8DF9
\r
266 MEDIUM_FLOAT = 0x8DF1
\r
267 HIGH_FLOAT = 0x8DF2
\r
269 MEDIUM_INT = 0x8DF4
\r
271 FRAMEBUFFER = 0x8D40
\r
272 RENDERBUFFER = 0x8D41
\r
276 DEPTH_COMPONENT16 = 0x81A5
\r
277 STENCIL_INDEX = 0x1901
\r
278 STENCIL_INDEX8 = 0x8D48
\r
279 RENDERBUFFER_WIDTH = 0x8D42
\r
280 RENDERBUFFER_HEIGHT = 0x8D43
\r
281 RENDERBUFFER_INTERNAL_FORMAT = 0x8D44
\r
282 RENDERBUFFER_RED_SIZE = 0x8D50
\r
283 RENDERBUFFER_GREEN_SIZE = 0x8D51
\r
284 RENDERBUFFER_BLUE_SIZE = 0x8D52
\r
285 RENDERBUFFER_ALPHA_SIZE = 0x8D53
\r
286 RENDERBUFFER_DEPTH_SIZE = 0x8D54
\r
287 RENDERBUFFER_STENCIL_SIZE = 0x8D55
\r
288 FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0
\r
289 FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1
\r
290 FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2
\r
291 FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE= 0x8CD3
\r
292 COLOR_ATTACHMENT0 = 0x8CE0
\r
293 DEPTH_ATTACHMENT = 0x8D00
\r
294 STENCIL_ATTACHMENT = 0x8D20
\r
296 FRAMEBUFFER_COMPLETE = 0x8CD5
\r
297 FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6
\r
298 FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT= 0x8CD7
\r
299 FRAMEBUFFER_INCOMPLETE_DIMENSIONS = 0x8CD9
\r
300 FRAMEBUFFER_UNSUPPORTED = 0x8CDD
\r
301 FRAMEBUFFER_BINDING = 0x8CA6
\r
302 RENDERBUFFER_BINDING = 0x8CA7
\r
303 MAX_RENDERBUFFER_SIZE = 0x84E8
\r
304 INVALID_FRAMEBUFFER_OPERATION = 0x0506
\r