Skip to content

API Reference / @gtkx/gl / getFragDataIndex

Function: getFragDataIndex() ​

getFragDataIndex(program, name): number

Defined in: packages/gl/src/generated/commands.ts:3191

GLint glGetFragDataIndex(GLuint program, const GLchar *name)

Provided by GL_VERSION_3_3. Registry note: Reuse ARB_blend_func_extended Also provided by the GL_ARB_blend_func_extended extension. Also known as glGetFragDataIndexEXT.

Parameters ​

program ​

number

GLuint, object class program

name ​

string

string

Returns ​

number

GLint