table of contents
GLGETUNIFORMSUBROUTI(3G) | [FIXME: manual] | GLGETUNIFORMSUBROUTI(3G) |
NAME¶
glGetUniformSubroutine - retrieve the value of a subroutine uniform of a given shader stage of the current programC SPECIFICATION¶
void
glGetUniformSubroutineuiv(GLenum shadertype,
GLint location,
GLuint *values);
PARAMETERS¶
shadertypeSpecifies 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.
DESCRIPTION¶
ERRORS¶
SEE ALSO¶
COPYRIGHT¶
Copyright © 2010 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.05/30/2012 | [FIXME: source] |