glGetProgramResourceIndex

query the index of a named resource within a program

Signature

glGetProgramResourceIndex( GLuint ( program ) , GLenum ( programInterface ) , const char * ( name ) )-> GLuint
glGetProgramResourceIndex( program , programInterface , name ) -> <class 'ctypes.c_uint'>

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 index of.