glGetUniformSubroutineuiv

glGetUniformSubroutine: man4/glGetUniformSubroutine.xml

glGetUniformSubroutine retrieves the value of the subroutine uniform at location location for shader stage shadertype of the current program. location must be less than the value of GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS for the shader currently in use at shader stage shadertype. The value of the subroutine uniform is returned in values.

@OpenGL_Version(OGLIntroducedIn.V4P0)
@OpenGL_Extension("GL_ARB_shader_subroutine")
fn_glGetUniformSubroutineuiv glGetUniformSubroutineuiv;

See Also

glGetProgram, glGetActiveSubroutineUniform, glGetActiveSubroutineUniformName, glGetUniformLocation

Meta