NAME

cgGLIsProfileSupported - determines if a given profile is supported by cgGL

SYNOPSIS

  #include <Cg/cgGL.h>

  CGbool cgGLIsProfileSupported(CGprofile profile);

PARAMETERS

profile

The profile enumerant.

DESCRIPTION

cgIsProfile returns CG_TRUE if the profile indicated by the profile parameter is supported by the cgGL library. Otherwise it returns CG_FALSE.

A given profile may not be supported if OpenGL extensions it requires are not available.

ERRORS

SEE ALSO

cgGLEnableProfile, and cgGLDisableProfile