Skip to content

API Reference / @gtkx/gl / getProgramResourceLocationIndex

Function: getProgramResourceLocationIndex()

getProgramResourceLocationIndex(program, programInterface, name): number

Defined in: generated/commands.d.ts:2559

GLint glGetProgramResourceLocationIndex(GLuint program, GLenum programInterface, const GLchar *name)

Provided by GL_VERSION_4_3.

Parameters

program

number

GLuint, object class program

programInterface

number

GLenum, group ProgramInterface

name

string

const GLchar *, length COMPSIZE(name)

Returns

number

GLint

See

https://registry.khronos.org/OpenGL-Refpages/gl4/html/glGetProgramResourceLocationIndex.xhtml

Released under the MPL-2.0 License.