1{
2    "AlphaTestFunc":
3    {
4        "AlwaysPass": "GL_ALWAYS",
5        "Equal": "GL_EQUAL",
6        "Gequal": "GL_GEQUAL",
7        "Greater": "GL_GREATER",
8        "Lequal": "GL_LEQUAL",
9        "Less": "GL_LESS",
10        "Never": "GL_NEVER",
11        "NotEqual": "GL_NOTEQUAL"
12    },
13    "BufferBinding":
14    {
15        "Array": "GL_ARRAY_BUFFER",
16        "AtomicCounter": "GL_ATOMIC_COUNTER_BUFFER",
17        "CopyRead": "GL_COPY_READ_BUFFER",
18        "CopyWrite": "GL_COPY_WRITE_BUFFER",
19        "DispatchIndirect": "GL_DISPATCH_INDIRECT_BUFFER",
20        "DrawIndirect": "GL_DRAW_INDIRECT_BUFFER",
21        "ElementArray": "GL_ELEMENT_ARRAY_BUFFER",
22        "PixelPack": "GL_PIXEL_PACK_BUFFER",
23        "PixelUnpack": "GL_PIXEL_UNPACK_BUFFER",
24        "ShaderStorage": "GL_SHADER_STORAGE_BUFFER",
25        "Texture": "GL_TEXTURE_BUFFER",
26        "TransformFeedback": "GL_TRANSFORM_FEEDBACK_BUFFER",
27        "Uniform": "GL_UNIFORM_BUFFER"
28    },
29    "BufferUsage":
30    {
31        "DynamicCopy": "GL_DYNAMIC_COPY",
32        "DynamicDraw": "GL_DYNAMIC_DRAW",
33        "DynamicRead": "GL_DYNAMIC_READ",
34        "StaticCopy": "GL_STATIC_COPY",
35        "StaticDraw": "GL_STATIC_DRAW",
36        "StaticRead": "GL_STATIC_READ",
37        "StreamCopy": "GL_STREAM_COPY",
38        "StreamDraw": "GL_STREAM_DRAW",
39        "StreamRead": "GL_STREAM_READ"
40    },
41    "ClientVertexArrayType":
42    {
43        "Color": "GL_COLOR_ARRAY",
44        "Normal": "GL_NORMAL_ARRAY",
45        "PointSize": "GL_POINT_SIZE_ARRAY_OES",
46        "TextureCoord": "GL_TEXTURE_COORD_ARRAY",
47        "Vertex": "GL_VERTEX_ARRAY"
48    },
49    "CullFaceMode":
50    {
51        "Back": "GL_BACK",
52        "Front": "GL_FRONT",
53        "FrontAndBack": "GL_FRONT_AND_BACK"
54    },
55    "FogMode":
56    {
57        "Exp": "GL_EXP",
58        "Exp2": "GL_EXP2",
59        "Linear": "GL_LINEAR"
60    },
61    "GraphicsResetStatus":
62    {
63        "NoError": "GL_NO_ERROR",
64        "GuiltyContextReset": "GL_GUILTY_CONTEXT_RESET",
65        "InnocentContextReset": "GL_INNOCENT_CONTEXT_RESET",
66        "UnknownContextReset": "GL_UNKNOWN_CONTEXT_RESET",
67        "PurgedContextResetNV": "GL_PURGED_CONTEXT_RESET_NV"
68    },
69    "HintSetting":
70    {
71        "DontCare": "GL_DONT_CARE",
72        "Fastest": "GL_FASTEST",
73        "Nicest": "GL_NICEST"
74    },
75    "LogicalOperation":
76    {
77        "And": "GL_AND",
78        "AndInverted": "GL_AND_INVERTED",
79        "AndReverse": "GL_AND_REVERSE",
80        "Clear": "GL_CLEAR",
81        "Copy": "GL_COPY",
82        "CopyInverted": "GL_COPY_INVERTED",
83        "Equiv": "GL_EQUIV",
84        "Invert": "GL_INVERT",
85        "Nand": "GL_NAND",
86        "Noop": "GL_NOOP",
87        "Nor": "GL_NOR",
88        "Or": "GL_OR",
89        "OrInverted": "GL_OR_INVERTED",
90        "OrReverse": "GL_OR_REVERSE",
91        "Set": "GL_SET",
92        "Xor": "GL_XOR"
93    },
94    "MatrixType":
95    {
96        "Modelview": "GL_MODELVIEW",
97        "Projection": "GL_PROJECTION",
98        "Texture": "GL_TEXTURE"
99    },
100    "QueryType":
101    {
102        "AnySamples": "GL_ANY_SAMPLES_PASSED",
103        "AnySamplesConservative": "GL_ANY_SAMPLES_PASSED_CONSERVATIVE",
104        "CommandsCompleted": "GL_COMMANDS_COMPLETED_CHROMIUM",
105        "PrimitivesGenerated": "GL_PRIMITIVES_GENERATED_EXT",
106        "TimeElapsed": "GL_TIME_ELAPSED_EXT",
107        "Timestamp": "GL_TIMESTAMP_EXT",
108        "TransformFeedbackPrimitivesWritten": "GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN"
109    },
110    "ShaderType":
111    {
112        "Vertex": "GL_VERTEX_SHADER",
113        "TessControl": "GL_TESS_CONTROL_SHADER_EXT",
114        "TessEvaluation": "GL_TESS_EVALUATION_SHADER_EXT",
115        "Geometry": "GL_GEOMETRY_SHADER_EXT",
116        "Fragment": "GL_FRAGMENT_SHADER",
117        "Compute": "GL_COMPUTE_SHADER"
118    },
119    "ShadingModel":
120    {
121        "Flat": "GL_FLAT",
122        "Smooth": "GL_SMOOTH"
123    },
124    "TextureCombine":
125    {
126        "Add": "GL_ADD",
127        "AddSigned": "GL_ADD_SIGNED",
128        "Dot3Rgb": "GL_DOT3_RGB",
129        "Dot3Rgba": "GL_DOT3_RGBA",
130        "Interpolate": "GL_INTERPOLATE",
131        "Modulate": "GL_MODULATE",
132        "Replace": "GL_REPLACE",
133        "Subtract": "GL_SUBTRACT"
134    },
135    "TextureEnvMode":
136    {
137        "Add": "GL_ADD",
138        "Blend": "GL_BLEND",
139        "Combine": "GL_COMBINE",
140        "Decal": "GL_DECAL",
141        "Modulate": "GL_MODULATE",
142        "Replace": "GL_REPLACE"
143    },
144    "TextureEnvTarget":
145    {
146        "Env": "GL_TEXTURE_ENV",
147        "PointSprite": "GL_POINT_SPRITE_OES"
148    },
149    "TextureEnvParameter":
150    {
151        "Mode": "GL_TEXTURE_ENV_MODE",
152        "Color": "GL_TEXTURE_ENV_COLOR",
153        "CombineRgb": "GL_COMBINE_RGB",
154        "CombineAlpha": "GL_COMBINE_ALPHA",
155        "RgbScale": "GL_RGB_SCALE",
156        "AlphaScale": "GL_ALPHA_SCALE",
157        "Src0Rgb": "GL_SRC0_RGB",
158        "Src1Rgb": "GL_SRC1_RGB",
159        "Src2Rgb": "GL_SRC2_RGB",
160        "Src0Alpha": "GL_SRC0_ALPHA",
161        "Src1Alpha": "GL_SRC1_ALPHA",
162        "Src2Alpha": "GL_SRC2_ALPHA",
163        "Op0Rgb": "GL_OPERAND0_RGB",
164        "Op1Rgb": "GL_OPERAND1_RGB",
165        "Op2Rgb": "GL_OPERAND2_RGB",
166        "Op0Alpha": "GL_OPERAND0_ALPHA",
167        "Op1Alpha": "GL_OPERAND1_ALPHA",
168        "Op2Alpha": "GL_OPERAND2_ALPHA",
169        "PointCoordReplace": "GL_COORD_REPLACE_OES"
170    },
171    "TextureOp":
172    {
173        "OneMinusSrcAlpha": "GL_ONE_MINUS_SRC_ALPHA",
174        "OneMinusSrcColor": "GL_ONE_MINUS_SRC_COLOR",
175        "SrcAlpha": "GL_SRC_ALPHA",
176        "SrcColor": "GL_SRC_COLOR"
177    },
178    "TextureSrc":
179    {
180        "Constant": "GL_CONSTANT",
181        "Previous": "GL_PREVIOUS",
182        "PrimaryColor": "GL_PRIMARY_COLOR",
183        "Texture": "GL_TEXTURE"
184    },
185    "TextureType":
186    {
187        "_2D": "GL_TEXTURE_2D",
188        "_2DArray": "GL_TEXTURE_2D_ARRAY",
189        "_2DMultisample": "GL_TEXTURE_2D_MULTISAMPLE",
190        "_2DMultisampleArray": "GL_TEXTURE_2D_MULTISAMPLE_ARRAY_OES",
191        "_3D": "GL_TEXTURE_3D",
192        "External": "GL_TEXTURE_EXTERNAL_OES",
193        "Rectangle": "GL_TEXTURE_RECTANGLE_ANGLE",
194        "CubeMap": "GL_TEXTURE_CUBE_MAP",
195        "CubeMapArray": "GL_TEXTURE_CUBE_MAP_ARRAY",
196        "VideoImage": "GL_TEXTURE_VIDEO_IMAGE_WEBGL",
197        "Buffer": "GL_TEXTURE_BUFFER"
198    },
199    "TextureTarget":
200    {
201        "_2D": "GL_TEXTURE_2D",
202        "_2DArray": "GL_TEXTURE_2D_ARRAY",
203        "_2DMultisample": "GL_TEXTURE_2D_MULTISAMPLE",
204        "_2DMultisampleArray": "GL_TEXTURE_2D_MULTISAMPLE_ARRAY_OES",
205        "_3D": "GL_TEXTURE_3D",
206        "External": "GL_TEXTURE_EXTERNAL_OES",
207        "Rectangle": "GL_TEXTURE_RECTANGLE_ANGLE",
208        "CubeMapPositiveX": "GL_TEXTURE_CUBE_MAP_POSITIVE_X",
209        "CubeMapNegativeX": "GL_TEXTURE_CUBE_MAP_NEGATIVE_X",
210        "CubeMapPositiveY": "GL_TEXTURE_CUBE_MAP_POSITIVE_Y",
211        "CubeMapNegativeY": "GL_TEXTURE_CUBE_MAP_NEGATIVE_Y",
212        "CubeMapPositiveZ": "GL_TEXTURE_CUBE_MAP_POSITIVE_Z",
213        "CubeMapNegativeZ": "GL_TEXTURE_CUBE_MAP_NEGATIVE_Z",
214        "CubeMapArray": "GL_TEXTURE_CUBE_MAP_ARRAY",
215        "VideoImage": "GL_TEXTURE_VIDEO_IMAGE_WEBGL",
216        "Buffer": "GL_TEXTURE_BUFFER"
217    },
218    "VertexArrayType":
219    {
220        "Color": "GL_COLOR_ARRAY",
221        "Normal": "GL_NORMAL_ARRAY",
222        "PointSize": "GL_POINT_SIZE_ARRAY_OES",
223        "TextureCoord": "GL_TEXTURE_COORD_ARRAY",
224        "Vertex": "GL_VERTEX_ARRAY"
225    },
226    "MaterialParameter":
227    {
228        "Ambient": "GL_AMBIENT",
229        "AmbientAndDiffuse": "GL_AMBIENT_AND_DIFFUSE",
230        "Diffuse": "GL_DIFFUSE",
231        "Emission": "GL_EMISSION",
232        "Shininess": "GL_SHININESS",
233        "Specular": "GL_SPECULAR"
234    },
235    "LightParameter":
236    {
237        "Ambient": "GL_AMBIENT",
238        "AmbientAndDiffuse": "GL_AMBIENT_AND_DIFFUSE",
239        "ConstantAttenuation": "GL_CONSTANT_ATTENUATION",
240        "Diffuse": "GL_DIFFUSE",
241        "LinearAttenuation": "GL_LINEAR_ATTENUATION",
242        "Position": "GL_POSITION",
243        "QuadraticAttenuation": "GL_QUADRATIC_ATTENUATION",
244        "Specular": "GL_SPECULAR",
245        "SpotCutoff": "GL_SPOT_CUTOFF",
246        "SpotDirection": "GL_SPOT_DIRECTION",
247        "SpotExponent": "GL_SPOT_EXPONENT"
248    },
249    "PointParameter":
250    {
251        "PointSizeMin" : "GL_POINT_SIZE_MIN",
252        "PointSizeMax" : "GL_POINT_SIZE_MAX",
253        "PointFadeThresholdSize" : "GL_POINT_FADE_THRESHOLD_SIZE",
254        "PointDistanceAttenuation" : "GL_POINT_DISTANCE_ATTENUATION"
255    },
256    "FilterMode":
257    {
258        "Nearest": "GL_NEAREST",
259        "Linear": "GL_LINEAR",
260        "NearestMipmapNearest": "GL_NEAREST_MIPMAP_NEAREST",
261        "NearestMipmapLinear": "GL_NEAREST_MIPMAP_LINEAR",
262        "LinearMipmapLinear": "GL_LINEAR_MIPMAP_LINEAR"
263    },
264    "WrapMode":
265    {
266        "ClampToEdge": "GL_CLAMP_TO_EDGE",
267        "ClampToBorder": "GL_CLAMP_TO_BORDER",
268        "MirroredRepeat": "GL_MIRRORED_REPEAT",
269        "Repeat": "GL_REPEAT"
270    },
271    "ProvokingVertexConvention":
272    {
273        "FirstVertexConvention": "GL_FIRST_VERTEX_CONVENTION",
274        "LastVertexConvention": "GL_LAST_VERTEX_CONVENTION"
275    },
276    "HandleType":
277    {
278        "OpaqueFd": "GL_HANDLE_TYPE_OPAQUE_FD_EXT",
279        "ZirconVmo": "GL_HANDLE_TYPE_ZIRCON_VMO_ANGLE",
280        "ZirconEvent": "GL_HANDLE_TYPE_ZIRCON_EVENT_ANGLE"
281    },
282    "ImageLayout":
283    {
284        "Undefined": "GL_NONE",
285        "General": "GL_LAYOUT_GENERAL_EXT",
286        "ColorAttachment": "GL_LAYOUT_COLOR_ATTACHMENT_EXT",
287        "DepthStencilAttachment": "GL_LAYOUT_DEPTH_STENCIL_ATTACHMENT_EXT",
288        "DepthStencilReadOnlyAttachment": "GL_LAYOUT_DEPTH_STENCIL_READ_ONLY_EXT",
289        "ShaderReadOnly": "GL_LAYOUT_SHADER_READ_ONLY_EXT",
290        "TransferSrc": "GL_LAYOUT_TRANSFER_SRC_EXT",
291        "TransferDst": "GL_LAYOUT_TRANSFER_DST_EXT",
292        "DepthReadOnlyStencilAttachment": "GL_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_EXT",
293        "DepthAttachmentStencilReadOnly": "GL_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_EXT"
294    }
295}
296