1<?xml version="1.0"?>
2<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
3
4<OpenGLAPI>
5
6<category name="GL_ARB_uniform_buffer_object" number="57">
7
8<enum name="UNIFORM_BUFFER" value="0x8A11" />
9<enum name="UNIFORM_BUFFER_BINDING" value="0x8A28" />
10<enum name="UNIFORM_BUFFER_START" value="0x8A29" />
11<enum name="UNIFORM_BUFFER_SIZE" value="0x8A2A" />
12<enum name="MAX_VERTEX_UNIFORM_BLOCKS" value="0x8A2B" />
13<enum name="MAX_GEOMETRY_UNIFORM_BLOCKS" value="0x8A2C" />
14<enum name="MAX_FRAGMENT_UNIFORM_BLOCKS" value="0x8A2D" />
15<enum name="MAX_COMBINED_UNIFORM_BLOCKS" value="0x8A2E" />
16<enum name="MAX_UNIFORM_BUFFER_BINDINGS" value="0x8A2F" />
17<enum name="MAX_UNIFORM_BLOCK_SIZE" value="0x8A30" />
18<enum name="MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS" value="0x8A31" />
19<enum name="MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS" value="0x8A32" />
20<enum name="MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS" value="0x8A33" />
21<enum name="UNIFORM_BUFFER_OFFSET_ALIGNMENT" value="0x8A34" />
22<enum name="ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH" value="0x8A35" />
23<enum name="ACTIVE_UNIFORM_BLOCKS" value="0x8A36" />
24<enum name="UNIFORM_TYPE" value="0x8A37" />
25<enum name="UNIFORM_SIZE" value="0x8A38" />
26<enum name="UNIFORM_NAME_LENGTH" value="0x8A39" />
27<enum name="UNIFORM_BLOCK_INDEX" value="0x8A3A" />
28<enum name="UNIFORM_OFFSET" value="0x8A3B" />
29<enum name="UNIFORM_ARRAY_STRIDE" value="0x8A3C" />
30<enum name="UNIFORM_MATRIX_STRIDE" value="0x8A3D" />
31<enum name="UNIFORM_IS_ROW_MAJOR" value="0x8A3E" />
32<enum name="UNIFORM_BLOCK_BINDING" value="0x8A3F" />
33<enum name="UNIFORM_BLOCK_DATA_SIZE" value="0x8A40" />
34<enum name="UNFIROM_BLOCK_NAME_LENGTH" value="0x8A41" />
35<enum name="UNIFORM_BLOCK_ACTIVE_UNIFORMS" value="0x8A42" />
36<enum name="UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES" value="0x8A43" />
37<enum name="UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER" value="0x8A44" />
38<enum name="UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER" value="0x8A45" />
39<enum name="UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER" value="0x8A46" />
40<enum name="INVALID_INDEX" value="0xFFFFFFFF" />
41
42<function name="GetUniformIndices" offset="assign">
43    <param name="program" type="GLuint" />
44    <param name="uniformCount" type="GLsizei" />
45    <param name="uniformNames" type="const GLchar * const *" />
46    <param name="uniformIndices" type="GLuint *" />
47</function>
48
49<function name="GetActiveUniformsiv" offset="assign">
50    <param name="program" type="GLuint" />
51    <param name="uniformCount" type="GLsizei" />
52    <param name="uniformIndices" type="const GLuint *" />
53    <param name="pname" type="GLenum" />
54    <param name="params" type="GLint *" />
55</function>
56
57<function name="GetActiveUniformName" offset="assign">
58    <param name="program" type="GLuint" />
59    <param name="uniformIndex" type="GLuint" />
60    <param name="bufSize" type="GLsizei" />
61    <param name="length" type="GLsizei *" />
62    <param name="uniformName" type="GLchar *" />
63</function>
64
65<function name="GetUniformBlockIndex" offset="assign">
66    <return type="GLuint"/>
67    <param name="program" type="GLuint" />
68    <param name="uniformBlockName" type="const GLchar *" />
69</function>
70
71<function name="GetActiveUniformBlockiv" offset="assign">
72    <param name="program" type="GLuint" />
73    <param name="uniformBlockIndex" type="GLuint" />
74    <param name="pname" type="GLenum" />
75    <param name="params" type="GLint *" />
76</function>
77
78<function name="GetActiveUniformBlockName" offset="assign">
79    <param name="program" type="GLuint" />
80    <param name="uniformBlockIndex" type="GLuint" />
81    <param name="bufSize" type="GLsizei" />
82    <param name="length" type="GLsizei *" />
83    <param name="uniformBlockName" type="GLchar *" />
84</function>
85
86<!-- Duplicated with GL3x.xml: BindBufferRange, BindBufferBase,
87     GetIntegeri_v -->
88
89<function name="UniformBlockBinding" offset="assign" >
90    <param name="program" type="GLuint" />
91    <param name="uniformBlockIndex" type="GLuint" />
92    <param name="uniformBlockBinding" type="GLuint" />
93</function>
94
95</category>
96
97</OpenGLAPI>
98