Skip to content

API Reference / @gtkx/gl / bindFragDataLocation

Function: bindFragDataLocation() ​

bindFragDataLocation(program, color, name): void

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

void glBindFragDataLocation(GLuint program, GLuint color, const GLchar *name)

Provided by GL_VERSION_3_0. Also known as glBindFragDataLocationEXT.

Parameters ​

program ​

number

GLuint, object class program

color ​

number

GLuint

name ​

string

string, length COMPSIZE(name)

Returns ​

void