Skip to content

API Reference / @gtkx/gl / getActiveUniformBlockName

Function: getActiveUniformBlockName() ​

getActiveUniformBlockName(program, uniformBlockIndex, bufSize): [number, string]

Defined in: packages/gl/src/generated/commands.ts:3007

void glGetActiveUniformBlockName(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName)

Provided by GL_VERSION_3_1. Registry note: Reuse ARB_uniform_buffer_object Also provided by the GL_ARB_uniform_buffer_object extension. GLX single opcode 220.

Parameters ​

program ​

number

GLuint, object class program

uniformBlockIndex ​

number

GLuint

bufSize ​

number

GLsizei

Returns ​

[number, string]

Tuple of length (GLsizei), uniformBlockName (string, length bufSize)