glUniformSubroutines

load active subroutine uniforms

Signature

glUniformSubroutines( )->
glUniformSubroutinesuiv( GLenum ( shadertype ) , GLsizei ( count ) , const GLuint *( indices ) )-> void
glUniformSubroutinesuiv( shadertype , count , indices )

Parameters

VariablesDescription
shadertype
Specifies 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.