NAME
cgGLUnbindProgram - unbinds the program bound in a profile
SYNOPSIS
#include <Cg/cgGL.h> void cgGLUnbindProgram( CGprofile profile );PARAMETERS
- profile
The profile.
RETURN VALUES
None.
or B<cgGLUnbindProgram> returns I<to-be-written>DESCRIPTION
cgGLUnbindProgram unbinds the program bound in the profile specified by profile. It will also reset the texture state back to the state it was in at the point cgGLBindProgram was first called with a program in the given profile.
EXAMPLES
to-be-written
ERRORS
CG_INVALID_PROFILE_ERROR is generated if prog's profile is not a supported OpenGL profile.
HISTORY
cgGLUnbindProgram was introduced in Cg 1.2.
SEE ALSO
cgSetManageTextureParameters, cgBindProgram, cgUnbindProgram