glGetProgramResourceLocationIndex

query the fragment color index of a named variable within a program

Signature

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

Parameters

VariablesDescription
program
The name of a program object whose resources to query.
programInterface
A token identifying the interface within program containing the resource named name .
name
The name of the resource to query the location of.