glDetachShader

Detaches a shader object from a program object to which it is attached

Signature

glDetachShader( GLuint ( program ) , GLuint ( shader ) )-> void
glDetachShader( program , shader )

Parameters

VariablesDescription
program
Specifies the program object from which to detach the shader object.
shader
Specifies the shader object to be detached.