PageRenderTime 75ms CodeModel.GetById 24ms RepoModel.GetById 0ms app.codeStats 0ms

/cocos/scripting/lua-bindings/script/cocos2d/DeprecatedOpenglEnum.lua

https://github.com/dumganhar/cocos2d-x
Lua | 288 lines | 285 code | 2 blank | 1 comment | 0 complexity | 686a2e1cd0366cb3e98abd85e99139db MD5 | raw file
  1. -- This is the DeprecatedEnum
  2. DeprecatedClass = {} or DeprecatedClass
  3. _G.GL_RENDERBUFFER_INTERNAL_FORMAT = gl.RENDERBUFFER_INTERNAL_FORMAT
  4. _G.GL_LINE_WIDTH = gl.LINE_WIDTH
  5. _G.GL_CONSTANT_ALPHA = gl.CONSTANT_ALPHA
  6. _G.GL_BLEND_SRC_ALPHA = gl.BLEND_SRC_ALPHA
  7. _G.GL_GREEN_BITS = gl.GREEN_BITS
  8. _G.GL_STENCIL_REF = gl.STENCIL_REF
  9. _G.GL_ONE_MINUS_SRC_ALPHA = gl.ONE_MINUS_SRC_ALPHA
  10. _G.GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = gl.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE
  11. _G.GL_CCW = gl.CCW
  12. _G.GL_MAX_TEXTURE_IMAGE_UNITS = gl.MAX_TEXTURE_IMAGE_UNITS
  13. _G.GL_BACK = gl.BACK
  14. _G.GL_ACTIVE_ATTRIBUTES = gl.ACTIVE_ATTRIBUTES
  15. _G.GL_TEXTURE_CUBE_MAP_POSITIVE_X = gl.TEXTURE_CUBE_MAP_POSITIVE_X
  16. _G.GL_STENCIL_BACK_VALUE_MASK = gl.STENCIL_BACK_VALUE_MASK
  17. _G.GL_TEXTURE_CUBE_MAP_POSITIVE_Z = gl.TEXTURE_CUBE_MAP_POSITIVE_Z
  18. _G.GL_ONE = gl.ONE
  19. _G.GL_TRUE = gl.TRUE
  20. _G.GL_TEXTURE12 = gl.TEXTURE12
  21. _G.GL_LINK_STATUS = gl.LINK_STATUS
  22. _G.GL_BLEND = gl.BLEND
  23. _G.GL_LESS = gl.LESS
  24. _G.GL_TEXTURE16 = gl.TEXTURE16
  25. _G.GL_BOOL_VEC2 = gl.BOOL_VEC2
  26. _G.GL_KEEP = gl.KEEP
  27. _G.GL_DST_COLOR = gl.DST_COLOR
  28. _G.GL_VERTEX_ATTRIB_ARRAY_ENABLED = gl.VERTEX_ATTRIB_ARRAY_ENABLED
  29. _G.GL_EXTENSIONS = gl.EXTENSIONS
  30. _G.GL_FRONT = gl.FRONT
  31. _G.GL_DST_ALPHA = gl.DST_ALPHA
  32. _G.GL_ATTACHED_SHADERS = gl.ATTACHED_SHADERS
  33. _G.GL_STENCIL_BACK_FUNC = gl.STENCIL_BACK_FUNC
  34. _G.GL_ONE_MINUS_DST_COLOR = gl.ONE_MINUS_DST_COLOR
  35. _G.GL_BLEND_EQUATION = gl.BLEND_EQUATION
  36. _G.GL_RENDERBUFFER_DEPTH_SIZE = gl.RENDERBUFFER_DEPTH_SIZE
  37. _G.GL_PACK_ALIGNMENT = gl.PACK_ALIGNMENT
  38. _G.GL_VENDOR = gl.VENDOR
  39. _G.GL_NEAREST_MIPMAP_LINEAR = gl.NEAREST_MIPMAP_LINEAR
  40. _G.GL_TEXTURE_CUBE_MAP_POSITIVE_Y = gl.TEXTURE_CUBE_MAP_POSITIVE_Y
  41. _G.GL_NEAREST = gl.NEAREST
  42. _G.GL_RENDERBUFFER_WIDTH = gl.RENDERBUFFER_WIDTH
  43. _G.GL_ARRAY_BUFFER_BINDING = gl.ARRAY_BUFFER_BINDING
  44. _G.GL_ARRAY_BUFFER = gl.ARRAY_BUFFER
  45. _G.GL_LEQUAL = gl.LEQUAL
  46. _G.GL_VERSION = gl.VERSION
  47. _G.GL_COLOR_CLEAR_VALUE = gl.COLOR_CLEAR_VALUE
  48. _G.GL_RENDERER = gl.RENDERER
  49. _G.GL_STENCIL_BACK_PASS_DEPTH_PASS = gl.STENCIL_BACK_PASS_DEPTH_PASS
  50. _G.GL_STENCIL_BACK_PASS_DEPTH_FAIL = gl.STENCIL_BACK_PASS_DEPTH_FAIL
  51. _G.GL_STENCIL_BACK_WRITEMASK = gl.STENCIL_BACK_WRITEMASK
  52. _G.GL_BOOL = gl.BOOL
  53. _G.GL_VIEWPORT = gl.VIEWPORT
  54. _G.GL_FRAGMENT_SHADER = gl.FRAGMENT_SHADER
  55. _G.GL_LUMINANCE = gl.LUMINANCE
  56. _G.GL_DECR_WRAP = gl.DECR_WRAP
  57. _G.GL_FUNC_ADD = gl.FUNC_ADD
  58. _G.GL_ONE_MINUS_DST_ALPHA = gl.ONE_MINUS_DST_ALPHA
  59. _G.GL_OUT_OF_MEMORY = gl.OUT_OF_MEMORY
  60. _G.GL_BOOL_VEC4 = gl.BOOL_VEC4
  61. _G.GL_POLYGON_OFFSET_FACTOR = gl.POLYGON_OFFSET_FACTOR
  62. _G.GL_STATIC_DRAW = gl.STATIC_DRAW
  63. _G.GL_DITHER = gl.DITHER
  64. _G.GL_TEXTURE31 = gl.TEXTURE31
  65. _G.GL_TEXTURE30 = gl.TEXTURE30
  66. _G.GL_UNSIGNED_BYTE = gl.UNSIGNED_BYTE
  67. _G.GL_DEPTH_COMPONENT16 = gl.DEPTH_COMPONENT16
  68. _G.GL_TEXTURE23 = gl.TEXTURE23
  69. _G.GL_DEPTH_TEST = gl.DEPTH_TEST
  70. _G.GL_STENCIL_PASS_DEPTH_FAIL = gl.STENCIL_PASS_DEPTH_FAIL
  71. _G.GL_BOOL_VEC3 = gl.BOOL_VEC3
  72. _G.GL_POLYGON_OFFSET_UNITS = gl.POLYGON_OFFSET_UNITS
  73. _G.GL_TEXTURE_BINDING_2D = gl.TEXTURE_BINDING_2D
  74. _G.GL_TEXTURE21 = gl.TEXTURE21
  75. _G.GL_UNPACK_ALIGNMENT = gl.UNPACK_ALIGNMENT
  76. _G.GL_DONT_CARE = gl.DONT_CARE
  77. _G.GL_BUFFER_SIZE = gl.BUFFER_SIZE
  78. _G.GL_FLOAT_MAT3 = gl.FLOAT_MAT3
  79. _G.GL_UNSIGNED_SHORT_5_6_5 = gl.UNSIGNED_SHORT_5_6_5
  80. _G.GL_INT_VEC2 = gl.INT_VEC2
  81. _G.GL_UNSIGNED_SHORT_4_4_4_4 = gl.UNSIGNED_SHORT_4_4_4_4
  82. _G.GL_NONE = gl.NONE
  83. _G.GL_BLEND_DST_ALPHA = gl.BLEND_DST_ALPHA
  84. _G.GL_VERTEX_ATTRIB_ARRAY_SIZE = gl.VERTEX_ATTRIB_ARRAY_SIZE
  85. _G.GL_SRC_COLOR = gl.SRC_COLOR
  86. _G.GL_COMPRESSED_TEXTURE_FORMATS = gl.COMPRESSED_TEXTURE_FORMATS
  87. _G.GL_STENCIL_ATTACHMENT = gl.STENCIL_ATTACHMENT
  88. _G.GL_MAX_VERTEX_ATTRIBS = gl.MAX_VERTEX_ATTRIBS
  89. _G.GL_NUM_COMPRESSED_TEXTURE_FORMATS = gl.NUM_COMPRESSED_TEXTURE_FORMATS
  90. _G.GL_BLEND_EQUATION_RGB = gl.BLEND_EQUATION_RGB
  91. _G.GL_TEXTURE = gl.TEXTURE
  92. _G.GL_LINEAR_MIPMAP_LINEAR = gl.LINEAR_MIPMAP_LINEAR
  93. _G.GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = gl.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING
  94. _G.GL_CURRENT_PROGRAM = gl.CURRENT_PROGRAM
  95. _G.GL_COLOR_BUFFER_BIT = gl.COLOR_BUFFER_BIT
  96. _G.GL_TEXTURE20 = gl.TEXTURE20
  97. _G.GL_ACTIVE_ATTRIBUTE_MAX_LENGTH = gl.ACTIVE_ATTRIBUTE_MAX_LENGTH
  98. _G.GL_TEXTURE28 = gl.TEXTURE28
  99. _G.GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = gl.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE
  100. _G.GL_TEXTURE22 = gl.TEXTURE22
  101. _G.GL_ELEMENT_ARRAY_BUFFER_BINDING = gl.ELEMENT_ARRAY_BUFFER_BINDING
  102. _G.GL_STREAM_DRAW = gl.STREAM_DRAW
  103. _G.GL_SCISSOR_BOX = gl.SCISSOR_BOX
  104. _G.GL_TEXTURE26 = gl.TEXTURE26
  105. _G.GL_TEXTURE27 = gl.TEXTURE27
  106. _G.GL_TEXTURE24 = gl.TEXTURE24
  107. _G.GL_TEXTURE25 = gl.TEXTURE25
  108. _G.GL_NO_ERROR = gl.NO_ERROR
  109. _G.GL_TEXTURE29 = gl.TEXTURE29
  110. _G.GL_FLOAT_MAT4 = gl.FLOAT_MAT4
  111. _G.GL_VERTEX_ATTRIB_ARRAY_NORMALIZED = gl.VERTEX_ATTRIB_ARRAY_NORMALIZED
  112. _G.GL_SAMPLE_COVERAGE_INVERT = gl.SAMPLE_COVERAGE_INVERT
  113. _G.GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = gl.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL
  114. _G.GL_FLOAT_VEC3 = gl.FLOAT_VEC3
  115. _G.GL_STENCIL_CLEAR_VALUE = gl.STENCIL_CLEAR_VALUE
  116. _G.GL_UNSIGNED_SHORT_5_5_5_1 = gl.UNSIGNED_SHORT_5_5_5_1
  117. _G.GL_ACTIVE_UNIFORMS = gl.ACTIVE_UNIFORMS
  118. _G.GL_INVALID_OPERATION = gl.INVALID_OPERATION
  119. _G.GL_DEPTH_ATTACHMENT = gl.DEPTH_ATTACHMENT
  120. _G.GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS = gl.MAX_COMBINED_TEXTURE_IMAGE_UNITS
  121. _G.GL_FRAMEBUFFER_COMPLETE = gl.FRAMEBUFFER_COMPLETE
  122. _G.GL_ONE_MINUS_CONSTANT_COLOR = gl.ONE_MINUS_CONSTANT_COLOR
  123. _G.GL_TEXTURE2 = gl.TEXTURE2
  124. _G.GL_TEXTURE1 = gl.TEXTURE1
  125. _G.GL_GEQUAL = gl.GEQUAL
  126. _G.GL_TEXTURE7 = gl.TEXTURE7
  127. _G.GL_TEXTURE6 = gl.TEXTURE6
  128. _G.GL_TEXTURE5 = gl.TEXTURE5
  129. _G.GL_TEXTURE4 = gl.TEXTURE4
  130. _G.GL_GENERATE_MIPMAP_HINT = gl.GENERATE_MIPMAP_HINT
  131. _G.GL_ONE_MINUS_SRC_COLOR = gl.ONE_MINUS_SRC_COLOR
  132. _G.GL_TEXTURE9 = gl.TEXTURE9
  133. _G.GL_STENCIL_TEST = gl.STENCIL_TEST
  134. _G.GL_COLOR_WRITEMASK = gl.COLOR_WRITEMASK
  135. _G.GL_DEPTH_COMPONENT = gl.DEPTH_COMPONENT
  136. _G.GL_STENCIL_INDEX8 = gl.STENCIL_INDEX8
  137. _G.GL_VERTEX_ATTRIB_ARRAY_TYPE = gl.VERTEX_ATTRIB_ARRAY_TYPE
  138. _G.GL_FLOAT_VEC2 = gl.FLOAT_VEC2
  139. _G.GL_BLUE_BITS = gl.BLUE_BITS
  140. _G.GL_VERTEX_SHADER = gl.VERTEX_SHADER
  141. _G.GL_SUBPIXEL_BITS = gl.SUBPIXEL_BITS
  142. _G.GL_STENCIL_WRITEMASK = gl.STENCIL_WRITEMASK
  143. _G.GL_FLOAT_VEC4 = gl.FLOAT_VEC4
  144. _G.GL_TEXTURE17 = gl.TEXTURE17
  145. _G.GL_ONE_MINUS_CONSTANT_ALPHA = gl.ONE_MINUS_CONSTANT_ALPHA
  146. _G.GL_TEXTURE15 = gl.TEXTURE15
  147. _G.GL_TEXTURE14 = gl.TEXTURE14
  148. _G.GL_TEXTURE13 = gl.TEXTURE13
  149. _G.GL_SAMPLES = gl.SAMPLES
  150. _G.GL_TEXTURE11 = gl.TEXTURE11
  151. _G.GL_TEXTURE10 = gl.TEXTURE10
  152. _G.GL_FUNC_SUBTRACT = gl.FUNC_SUBTRACT
  153. _G.GL_STENCIL_BUFFER_BIT = gl.STENCIL_BUFFER_BIT
  154. _G.GL_TEXTURE19 = gl.TEXTURE19
  155. _G.GL_TEXTURE18 = gl.TEXTURE18
  156. _G.GL_NEAREST_MIPMAP_NEAREST = gl.NEAREST_MIPMAP_NEAREST
  157. _G.GL_SHORT = gl.SHORT
  158. _G.GL_RENDERBUFFER_BINDING = gl.RENDERBUFFER_BINDING
  159. _G.GL_REPEAT = gl.REPEAT
  160. _G.GL_TEXTURE_MIN_FILTER = gl.TEXTURE_MIN_FILTER
  161. _G.GL_RED_BITS = gl.RED_BITS
  162. _G.GL_FRONT_FACE = gl.FRONT_FACE
  163. _G.GL_BLEND_COLOR = gl.BLEND_COLOR
  164. _G.GL_MIRRORED_REPEAT = gl.MIRRORED_REPEAT
  165. _G.GL_INT_VEC4 = gl.INT_VEC4
  166. _G.GL_MAX_CUBE_MAP_TEXTURE_SIZE = gl.MAX_CUBE_MAP_TEXTURE_SIZE
  167. _G.GL_RENDERBUFFER_BLUE_SIZE = gl.RENDERBUFFER_BLUE_SIZE
  168. _G.GL_SAMPLE_COVERAGE = gl.SAMPLE_COVERAGE
  169. _G.GL_SRC_ALPHA = gl.SRC_ALPHA
  170. _G.GL_FUNC_REVERSE_SUBTRACT = gl.FUNC_REVERSE_SUBTRACT
  171. _G.GL_DEPTH_WRITEMASK = gl.DEPTH_WRITEMASK
  172. _G.GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT = gl.FRAMEBUFFER_INCOMPLETE_ATTACHMENT
  173. _G.GL_POLYGON_OFFSET_FILL = gl.POLYGON_OFFSET_FILL
  174. _G.GL_STENCIL_FUNC = gl.STENCIL_FUNC
  175. _G.GL_REPLACE = gl.REPLACE
  176. _G.GL_LUMINANCE_ALPHA = gl.LUMINANCE_ALPHA
  177. _G.GL_DEPTH_RANGE = gl.DEPTH_RANGE
  178. _G.GL_FASTEST = gl.FASTEST
  179. _G.GL_STENCIL_FAIL = gl.STENCIL_FAIL
  180. _G.GL_UNSIGNED_SHORT = gl.UNSIGNED_SHORT
  181. _G.GL_RENDERBUFFER_HEIGHT = gl.RENDERBUFFER_HEIGHT
  182. _G.GL_STENCIL_BACK_FAIL = gl.STENCIL_BACK_FAIL
  183. _G.GL_BLEND_SRC_RGB = gl.BLEND_SRC_RGB
  184. _G.GL_TEXTURE3 = gl.TEXTURE3
  185. _G.GL_RENDERBUFFER = gl.RENDERBUFFER
  186. _G.GL_RGB5_A1 = gl.RGB5_A1
  187. _G.GL_RENDERBUFFER_ALPHA_SIZE = gl.RENDERBUFFER_ALPHA_SIZE
  188. _G.GL_RENDERBUFFER_STENCIL_SIZE = gl.RENDERBUFFER_STENCIL_SIZE
  189. _G.GL_NOTEQUAL = gl.NOTEQUAL
  190. _G.GL_BLEND_DST_RGB = gl.BLEND_DST_RGB
  191. _G.GL_FRONT_AND_BACK = gl.FRONT_AND_BACK
  192. _G.GL_TEXTURE_BINDING_CUBE_MAP = gl.TEXTURE_BINDING_CUBE_MAP
  193. _G.GL_MAX_RENDERBUFFER_SIZE = gl.MAX_RENDERBUFFER_SIZE
  194. _G.GL_ZERO = gl.ZERO
  195. _G.GL_TEXTURE0 = gl.TEXTURE0
  196. _G.GL_SAMPLE_ALPHA_TO_COVERAGE = gl.SAMPLE_ALPHA_TO_COVERAGE
  197. _G.GL_BUFFER_USAGE = gl.BUFFER_USAGE
  198. _G.GL_ACTIVE_TEXTURE = gl.ACTIVE_TEXTURE
  199. _G.GL_BYTE = gl.BYTE
  200. _G.GL_CW = gl.CW
  201. _G.GL_DYNAMIC_DRAW = gl.DYNAMIC_DRAW
  202. _G.GL_RENDERBUFFER_RED_SIZE = gl.RENDERBUFFER_RED_SIZE
  203. _G.GL_FALSE = gl.FALSE
  204. _G.GL_GREATER = gl.GREATER
  205. _G.GL_RGBA4 = gl.RGBA4
  206. _G.GL_VALIDATE_STATUS = gl.VALIDATE_STATUS
  207. _G.GL_STENCIL_BITS = gl.STENCIL_BITS
  208. _G.GL_RGB = gl.RGB
  209. _G.GL_INT = gl.INT
  210. _G.GL_DEPTH_FUNC = gl.DEPTH_FUNC
  211. _G.GL_SAMPLER_2D = gl.SAMPLER_2D
  212. _G.GL_NICEST = gl.NICEST
  213. _G.GL_MAX_VIEWPORT_DIMS = gl.MAX_VIEWPORT_DIMS
  214. _G.GL_CULL_FACE = gl.CULL_FACE
  215. _G.GL_INT_VEC3 = gl.INT_VEC3
  216. _G.GL_ALIASED_POINT_SIZE_RANGE = gl.ALIASED_POINT_SIZE_RANGE
  217. _G.GL_INVALID_ENUM = gl.INVALID_ENUM
  218. _G.GL_INVERT = gl.INVERT
  219. _G.GL_CULL_FACE_MODE = gl.CULL_FACE_MODE
  220. _G.GL_TEXTURE8 = gl.TEXTURE8
  221. _G.GL_VERTEX_ATTRIB_ARRAY_POINTER = gl.VERTEX_ATTRIB_ARRAY_POINTER
  222. _G.GL_TEXTURE_WRAP_S = gl.TEXTURE_WRAP_S
  223. _G.GL_VERTEX_ATTRIB_ARRAY_STRIDE = gl.VERTEX_ATTRIB_ARRAY_STRIDE
  224. _G.GL_LINES = gl.LINES
  225. _G.GL_EQUAL = gl.EQUAL
  226. _G.GL_LINE_LOOP = gl.LINE_LOOP
  227. _G.GL_TEXTURE_WRAP_T = gl.TEXTURE_WRAP_T
  228. _G.GL_DEPTH_BUFFER_BIT = gl.DEPTH_BUFFER_BIT
  229. _G.GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS = gl.MAX_VERTEX_TEXTURE_IMAGE_UNITS
  230. _G.GL_SHADER_TYPE = gl.SHADER_TYPE
  231. _G.GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = gl.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME
  232. _G.GL_TEXTURE_CUBE_MAP_NEGATIVE_X = gl.TEXTURE_CUBE_MAP_NEGATIVE_X
  233. _G.GL_TEXTURE_CUBE_MAP_NEGATIVE_Y = gl.TEXTURE_CUBE_MAP_NEGATIVE_Y
  234. _G.GL_TEXTURE_CUBE_MAP_NEGATIVE_Z = gl.TEXTURE_CUBE_MAP_NEGATIVE_Z
  235. _G.GL_DECR = gl.DECR
  236. _G.GL_DELETE_STATUS = gl.DELETE_STATUS
  237. _G.GL_DEPTH_BITS = gl.DEPTH_BITS
  238. _G.GL_INCR = gl.INCR
  239. _G.GL_SAMPLE_COVERAGE_VALUE = gl.SAMPLE_COVERAGE_VALUE
  240. _G.GL_ALPHA_BITS = gl.ALPHA_BITS
  241. _G.GL_FLOAT_MAT2 = gl.FLOAT_MAT2
  242. _G.GL_LINE_STRIP = gl.LINE_STRIP
  243. _G.GL_SHADER_SOURCE_LENGTH = gl.SHADER_SOURCE_LENGTH
  244. _G.GL_INVALID_VALUE = gl.INVALID_VALUE
  245. _G.GL_NEVER = gl.NEVER
  246. _G.GL_INCR_WRAP = gl.INCR_WRAP
  247. _G.GL_BLEND_EQUATION_ALPHA = gl.BLEND_EQUATION_ALPHA
  248. _G.GL_TEXTURE_MAG_FILTER = gl.TEXTURE_MAG_FILTER
  249. _G.GL_POINTS = gl.POINTS
  250. _G.GL_COLOR_ATTACHMENT0 = gl.COLOR_ATTACHMENT0
  251. _G.GL_RGBA = gl.RGBA
  252. _G.GL_SRC_ALPHA_SATURATE = gl.SRC_ALPHA_SATURATE
  253. _G.GL_SAMPLER_CUBE = gl.SAMPLER_CUBE
  254. _G.GL_FRAMEBUFFER = gl.FRAMEBUFFER
  255. _G.GL_TEXTURE_CUBE_MAP = gl.TEXTURE_CUBE_MAP
  256. _G.GL_SAMPLE_BUFFERS = gl.SAMPLE_BUFFERS
  257. _G.GL_LINEAR = gl.LINEAR
  258. _G.GL_LINEAR_MIPMAP_NEAREST = gl.LINEAR_MIPMAP_NEAREST
  259. _G.GL_ACTIVE_UNIFORM_MAX_LENGTH = gl.ACTIVE_UNIFORM_MAX_LENGTH
  260. _G.GL_STENCIL_BACK_REF = gl.STENCIL_BACK_REF
  261. _G.GL_ELEMENT_ARRAY_BUFFER = gl.ELEMENT_ARRAY_BUFFER
  262. _G.GL_CLAMP_TO_EDGE = gl.CLAMP_TO_EDGE
  263. _G.GL_TRIANGLE_STRIP = gl.TRIANGLE_STRIP
  264. _G.GL_CONSTANT_COLOR = gl.CONSTANT_COLOR
  265. _G.GL_COMPILE_STATUS = gl.COMPILE_STATUS
  266. _G.GL_RENDERBUFFER_GREEN_SIZE = gl.RENDERBUFFER_GREEN_SIZE
  267. _G.GL_UNSIGNED_INT = gl.UNSIGNED_INT
  268. _G.GL_DEPTH_CLEAR_VALUE = gl.DEPTH_CLEAR_VALUE
  269. _G.GL_ALIASED_LINE_WIDTH_RANGE = gl.ALIASED_LINE_WIDTH_RANGE
  270. _G.GL_SHADING_LANGUAGE_VERSION = gl.SHADING_LANGUAGE_VERSION
  271. _G.GL_FRAMEBUFFER_UNSUPPORTED = gl.FRAMEBUFFER_UNSUPPORTED
  272. _G.GL_INFO_LOG_LENGTH = gl.INFO_LOG_LENGTH
  273. _G.GL_STENCIL_PASS_DEPTH_PASS = gl.STENCIL_PASS_DEPTH_PASS
  274. _G.GL_STENCIL_VALUE_MASK = gl.STENCIL_VALUE_MASK
  275. _G.GL_ALWAYS = gl.ALWAYS
  276. _G.GL_MAX_TEXTURE_SIZE = gl.MAX_TEXTURE_SIZE
  277. _G.GL_FLOAT = gl.FLOAT
  278. _G.GL_FRAMEBUFFER_BINDING = gl.FRAMEBUFFER_BINDING
  279. _G.GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = gl.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT
  280. _G.GL_TRIANGLE_FAN = gl.TRIANGLE_FAN
  281. _G.GL_INVALID_FRAMEBUFFER_OPERATION = gl.INVALID_FRAMEBUFFER_OPERATION
  282. _G.GL_TEXTURE_2D = gl.TEXTURE_2D
  283. _G.GL_ALPHA = gl.ALPHA
  284. _G.GL_CURRENT_VERTEX_ATTRIB = gl.CURRENT_VERTEX_ATTRIB
  285. _G.GL_SCISSOR_TEST = gl.SCISSOR_TEST
  286. _G.GL_TRIANGLES = gl.TRIANGLES