Name
cgGLDisableProfile - disable a profile within OpenGL
Synopsis
#include <Cg/cgGL.h>
void cgGLDisableProfile( CGprofile profile );
Parameters
- profile
-
The enumerant for the profile to disable.
Return Values
None.
Description
cgGLDisableProfile disables a profile by making the
necessary OpenGL calls. For most profiles, this will simply make a call
to glDisable with the approriate enumerant.
Examples
to-be-written
Errors
CG_INVALID_PROFILE_ERROR is generated if profile is not a supported
OpenGL profile.
History
cgGLDisableProfile was introduced in Cg 1.1.
See Also
cgGLEnableProfile
|