API Reference / @gtkx/gl / getProgramResourceLocation
Function: getProgramResourceLocation()
getProgramResourceLocation(
program,programInterface,name):number
Defined in: generated/commands.d.ts:2836
GLint glGetProgramResourceLocation(GLuint program, GLenum programInterface, const GLchar *name)
Provided by GL_VERSION_4_3. Registry note: Reuse commands from ARB_program_interface_query Also provided by the GL_ARB_program_interface_query extension.
Parameters
program
number
GLuint, object class program
programInterface
number
ProgramInterface
name
string
string, length COMPSIZE(name)
Returns
number
GLint