MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Cg OpenGL Runtime API                        cgGLEnableProfile(3)



NAME
     cgGLEnableProfile - enable a profile within OpenGL

SYNOPSIS
       #include 

       void cgGLEnableProfile( CGprofile profile );


PARAMETERS
     profile The enumerant for the profile to enable.

RETURN VALUES
     None.

DESCRIPTION
     cgGLEnableProfile enables a profile by making the necessary
     OpenGL calls.  For most profiles, this will simply make a
     call to glEnable with the approriate enumerant.

EXAMPLES
     to-be-written

ERORS
     CGINVALIDPROFILEROR is generated if profile is not a
     supported OpenGL profile.

HISTORY
     cgGLEnableProfile was introduced in Cg 1.1.

SEE ALSO
     cgGLDisableProfile























Cg Toolkit 2.1            Last change:                          1



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™