Signature
glGetActiveUniformName(
GLuint (
program
)
,
GLuint (
uniformIndex
)
,
GLsizei (
bufSize
)
,
GLsizei *(
length
)
,
GLchar *(
uniformName
)
)-> void
Parameters
Variables | Description |
---|---|
program |
Specifies the program containing the active uniform index
uniformIndex
.
|
uniformIndex |
Specifies the index of the active uniform whose name to query.
|
bufSize |
Specifies the size of the buffer, in units of
GLchar
, of the buffer whose address is specified in
uniformName
.
|
length |
Specifies the address of a variable that will receive the number of characters that were or would have been written to the buffer addressed by
uniformName
.
|
uniformName |
Specifies the address of a buffer into which the GL will place the name of the active uniform at
uniformIndex
within
program
.
|