glGetAttachedShaders

Returns the handles of the shader objects attached to a program object

Signature

glGetAttachedShaders( GLuint ( program ) , GLsizei ( maxCount ) , GLsizei *( count ) , GLuint *( shaders ) )-> void
glGetAttachedShaders( program , maxCount , count , shaders )
Retrieve the attached objects as an array of GLhandle instances

Parameters

VariablesDescription
program
Specifies the program object to be queried.
maxCount
Specifies the size of the array for storing the returned object names.
count
Returns the number of names actually returned in shaders .
shaders
Specifies an array that is used to return the names of attached shader objects.