API Reference / @gtkx/gl / getUniformBlockIndex
Function: getUniformBlockIndex()
getUniformBlockIndex(
program,uniformBlockName):number
Defined in: generated/commands.d.ts:2961
GLuint glGetUniformBlockIndex(GLuint program, const GLchar *uniformBlockName)
Provided by GL_VERSION_3_1.
Parameters
program
number
GLuint, object class program
uniformBlockName
string
const GLchar *, length COMPSIZE()
Returns
number
GLuint
See
https://registry.khronos.org/OpenGL-Refpages/gl4/html/glGetUniformBlockIndex.xhtml