NAME

cgGLUnbindProgram - unbinds the program bound in a profile

SYNOPSIS

  #include <Cg/cgGL.h>

  void cgGLUnbindProgram(CGprofile profile);

PARAMETERS

profile

Specifies the profile.

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|cgGLBindProgram was first called with a program in the given profile.

ERRORS

CG_INVALID_PROFILE_ERROR is generated if prog's profile is not a supported OpenGL profile.

SEE ALSO

cgSetManageTextureParameters, cgBindProgram, and cgUnbindProgram