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