NAME
cgGLEnableProfile - enable a profile within OpenGL
SYNOPSIS
#include <Cg/cgGL.h> void cgGLEnableProfile( CGprofile profile );PARAMETERS
- profile
The profile enumerant.
RETURN VALUES
None.
DESCRIPTION
cgGLEnableProfile enables a given profile by making the appropriate OpenGL calls. For most profiles, this will simply make a call to glEnable with the approriate enumerant.
EXAMPLES
to-be-written
ERRORS
CG_INVALID_PROFILE_ERROR is generated if profile is invalid.
HISTORY
cgGLEnableProfile was introduced in Cg 1.1.
SEE ALSO