GLGETHANDLE(3gl)GLGETHANDLE(3gl)NAME
glGetHandleARB - returns the handle of the current program object
C SPECIFICATION
GLhandleARB glGetHandleARB( GLenum pname )
PARAMETERS
pname Specifies the parameter to be queried. Must be GL_PRO‐
GRAM_OBJECT_ARB.
DESCRIPTION
glGetHandleARB returns the handle of an object that is in use as part
of the current state. The parameter pname specifies the which object is
to be queried. Setting pname to GL_PROGRAM_OBJECT_ARB will return the
handle to the current program object.
ERRORS
GL_INVALID_ENUM is generated if pname is not an accepted value.
linked.
GL_INVALID_OPERATION is generated if glGetHandleARB is executed between
the execution of glBegin and the corresponding execution of glEnd.
SEE ALSO
glUseProgramObjectARB
11 Mar 04 GLGETHANDLE(3gl)