GLDETACHOBJECT(3gl)GLDETACHOBJECT(3gl)NAMEglDetachObjectARB - Detaches a shader object from a program object
C SPECIFICATION
void glDetachObjectARB( GLhandleARB program,
GLhandleARB *hader )
PARAMETERS
program Specifies the handle of program object.
shader Specifies the handle of the shader object.
DESCRIPTIONglDetachObjectARB detaches a shader object specified by shader from a
program object specified by program.
ERRORS
GL_INVALID_VALUE is generated if either shader of program is not a
valid object handle.
GL_INVALID_OPERATION is generated if shader is not attached to program.
GL_INVALID_OPERATION is generated if program is not of type GL_PRO‐
GRAM_OBJECT_ARB
GL_INVALID_OPERATION is generated glDetachObjectARB is executed between
glBegin and glEnd.
ASSOCIATED GETS
glGetAttachedObjectsARB with the handle of a valid program object.
SEE ALSO
glAttachObjectARB
11 Mar 04 GLDETACHOBJECT(3gl)