glGetFragDataLocation

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

Signature

glGetFragDataLocation( GLuint ( program ) , const char * ( name ) )-> GLint
glGetFragDataLocation( 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 binding to query