Signature
glGetActiveUniform(
GLuint (
program
)
,
GLuint (
index
)
,
GLsizei (
bufSize
)
,
GLsizei *(
length
)
,
GLint *(
size
)
,
GLenum *(
type
)
,
GLchar *(
name
)
)-> void
Parameters
Variables | Description |
---|---|
program |
Specifies the program object to be
queried.
|
index |
Specifies the index of the uniform variable to
be queried.
|
bufSize |
Specifies the maximum number of characters
OpenGL is allowed to write in the character buffer
indicated by
name
.
|
length |
Returns the number of characters actually
written by OpenGL in the string indicated by
name
(excluding the null
terminator) if a value other than
NULL
is passed.
|
size |
Returns the size of the uniform
variable.
|
type |
Returns the data type of the uniform
variable.
|
name |
Returns a null terminated string containing
the name of the uniform variable.
|