table of contents
other versions
GLGETPROGRAMSTAGE(3G) | [FIXME: manual] | GLGETPROGRAMSTAGE(3G) |
NAME¶
glGetProgramStage - retrieve properties of a program object corresponding to a specified shader stageC SPECIFICATION¶
void
glGetProgramStageiv(GLuint program,
GLenum shadertype, GLenum pname,
GLint *values);
PARAMETERS¶
programSpecifies the name of the program containing
shader stage.
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.
pname
Specifies the parameter of the shader to
query. pname must be GL_ACTIVE_SUBROUTINE_UNIFORMS,
GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS, GL_ACTIVE_SUBROUTINES,
GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH, or
GL_ACTIVE_SUBROUTINE_MAX_LENGTH.
values
Specifies the address of a variable into which
the queried value or values will be placed.
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] |