GLDELETEPROGRAMS(3gl)GLDELETEPROGRAMS(3gl)NAME
glDeleteProgramsARB - delete named programs
C SPECIFICATION
void glDeleteProgramsARB( GLsizei n,
const GLuint *programs )
PARAMETERS
n Specifies the number of programs to be deleted.
programs Specifies an array of programs to be deleted.
DESCRIPTION
glDeleteProgramsARB deletes n programs named by the elements of the
array programs. After a program is deleted, it has no contents or
type, and its name is free for reuse (for example by glGenProgramsARB).
If a program that is currently bound is deleted, the binding reverts to
0 (the default program).
glDeleteProgramsARB silently ignores 0's and names that do not correā
spond to existing programs.
NOTESERRORS
GL_INVALID_VALUE is generated if n is negative.
GL_INVALID_OPERATION is generated if glDeleteProgramsARB is executed
between the execution of glBegin and the corresponding execution of
glEnd.
ASSOCIATED GETS
glIsProgramARB
SEE ALSO
glBindProgramARB, glGenProgramsARB, glGet
12 Mar 04 GLDELETEPROGRAMS(3gl)