table of contents
other versions
GLGETACTIVESUBROUTIN(3G) | [FIXME: manual] | GLGETACTIVESUBROUTIN(3G) |
NAME¶
glGetActiveSubroutineUniformName - query the name of an active shader subroutine uniformC SPECIFICATION¶
void
glGetActiveSubroutineUniformName(GLuint program,
GLenum shadertype, GLuint index,
GLsizei bufsize, GLsizei *length,
GLchar *name);
PARAMETERS¶
programSpecifies the name of the program containing
the subroutine.
shadertype
Specifies the shader stage from which to query
for the subroutine parameter. shadertype must be one of
GL_VERTEX_SHADER, GL_TESS_CONTROL_SHADER,
GL_TESS_EVALUATION_SHADER, GL_GEOMETRY_SHADER or
GL_FRAGMENT_SHADER.
index
Specifies the index of the shader subroutine
uniform.
bufsize
Specifies the size of the buffer whose address
is given in name.
length
Specifies the address of a variable into which
is written the number of characters copied into name.
name
Specifies the address of a buffer that will
receive the name of the specified shader subroutine uniform.
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] |