glGetProgramResource

retrieve values for multiple properties of a single active resource within a program object

Signature

glGetProgramResource( )->
glGetProgramResourceiv( GLuint ( program ) , GLenum ( programInterface ) , GLuint ( index ) , GLsizei ( propCount ) , const Glenum * ( props ) , GLsizei ( bufSize ) , GLsizei * ( length ) , GLint * ( params ) )-> void
glGetProgramResourceiv( program , programInterface , index , propCount , props , bufSize , length , params )

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 .