Signature
glGetUniformSubroutine()->
glGetUniformSubroutineuiv(
GLenum (
shadertype
)
,
GLint (
location
)
,
GLuint *(
values
)
)-> void
glGetUniformSubroutineuiv(
shadertype
,
location
,
params
)
Parameters
Variables | Description |
---|---|
shadertype |
Specifies the shader stage from which to query for subroutine uniform index.
shadertype
must be one of
GL_VERTEX_SHADER
,
GL_TESS_CONTROL_SHADER
,
GL_TESS_EVALUATION_SHADER
,
GL_GEOMETRY_SHADER
or
GL_FRAGMENT_SHADER
.
|
location |
Specifies the location of the subroutine uniform.
|
values |
Specifies the address of a variable to receive the value or values of the subroutine uniform.
|