glGetProgramResourceLocation

query the location of a named resource within a program

Signature

glGetProgramResourceLocation( GLuint ( program ) , GLenum ( programInterface ) , const char * ( name ) )-> GLint
glGetProgramResourceLocation( 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.