glGetFragDataIndex

query the bindings of color indices to user-defined varying out variables

Signature

glGetFragDataIndex( GLuint ( program ) , const char * ( name ) )-> GLint
glGetFragDataIndex( program , name ) -> <class 'ctypes.c_int'>

Parameters

VariablesDescription
program
The name of the program containing varying out variable whose binding to query
name
The name of the user-defined varying out variable whose index to query