Signature
glGetActiveUniformsiv(
GLuint (
program
)
,
GLsizei (
uniformCount
)
,
const GLuint *(
uniformIndices
)
,
GLenum (
pname
)
,
GLint *(
params
)
)-> void
glGetActiveUniform(
program
,
index
,
bufSize
,
length
,
size
,
type
,
name
)
Retrieve the name, size and type of the uniform of the index in the program
glGetActiveUniformsiv(
program
,
uniformCount
,
uniformIndices
,
pname
,
params
)
Parameters
Variables | Description |
---|---|
program |
Specifies the program object to be queried.
|
uniformCount |
Specifies both the number of elements in the array of
indices
uniformIndices
and the number of
parameters written to
params
upon
successful return.
|
uniformIndices |
Specifies the address of an array of
uniformCount
integers containing the
indices of uniforms within
program
whose
parameter
pname
should be queried.
|
pname |
Specifies the property of each uniform in
uniformIndices
that should be written
into the corresponding element of
params
.
|
params |
Specifies the address of an array of
uniformCount
integers which are to
receive the value of
pname
for each
uniform in
uniformIndices
.
|