table of contents
other versions
GLUNIFORMSUBROUTINES(3G) | [FIXME: manual] | GLUNIFORMSUBROUTINES(3G) |
NAME¶
glUniformSubroutines - load active subroutine uniformsC SPECIFICATION¶
void
glUniformSubroutinesuiv(GLenum shadertype,
GLsizei count,
const GLuint *indices);
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.
count
Specifies the number of uniform indices stored
in indices.
indices
Specifies the address of an array holding the
indices to load into the shader subroutine variables.
DESCRIPTION¶
ERRORS¶
ASSOCIATED GETS¶
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] |