NAME

cgGLEnableProfile - enable a profile within OpenGL

SYNOPSIS

  #include <Cg/cgGL.h>

  void cgGLEnableProfile(CGprofile profile);

PARAMETERS

profile

The profile enumerant.

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.

RETURN VALUES

cgGLEnableProfile does not return any values.

ERRORS

CG_INVALID_PROFILE_ERROR is generated if profile is invalid.

SEE ALSO

cgGLDisableProfile