Skip to content

API Reference / @gtkx/gl / getFragDataLocation

Function: getFragDataLocation()

getFragDataLocation(program, name): number

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

GLint glGetFragDataLocation(GLuint program, const GLchar *name)

Provided by GL_VERSION_3_0. Also known as glGetFragDataLocationEXT.

Parameters

program

number

GLuint, object class program

name

string

string, length COMPSIZE(name)

Returns

number

GLint

Released under the MPL-2.0 License.