glUniformBlockBinding

assign a binding point to an active uniform block

Signature

glUniformBlockBinding( GLuint ( program ) , GLuint ( uniformBlockIndex ) , GLuint ( uniformBlockBinding ) )-> void
glUniformBlockBinding( program , uniformBlockIndex , uniformBlockBinding )

Parameters

VariablesDescription
program
The name of a program object containing the active uniform block whose binding to assign.
uniformBlockIndex
The index of the active uniform block within program whose binding to assign.
uniformBlockBinding
Specifies the binding point to which to bind the uniform block with index uniformBlockIndex within program .