glUniformSubroutinesuiv

glUniformSubroutines: man4/glUniformSubroutines.xml

glUniformSubroutines loads all active subroutine uniforms for shader stage shadertype of the current program with subroutine indices from indices, storing indicesi into the uniform at location i. count must be equal to the value of GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS for the program currently in use at shader stage shadertype. Furthermore, all values in indices must be less than the value of GL_ACTIVE_SUBROUTINES for the shader stage.

@OpenGL_Version(OGLIntroducedIn.V4P0)
@OpenGL_Extension("GL_ARB_shader_subroutine")
fn_glUniformSubroutinesuiv glUniformSubroutinesuiv;

See Also

glGetProgram, glGetActiveSubroutineUniform, glGetActiveSubroutineUniformName, glGetProgramStage

Meta