NAME
    cgGetProfile - get the profile enumerant from a the profile name

SYNOPSIS
      #include <Cg/cg.h>

      CGprofile cgGetProfile( const char *profile_string );

PARAMETERS
    profile_string
            A string containing the profile name. The name is
            case-sensitive.

DESCRIPTION
    cgGetProfile returns the enumerant assigned to a profile name.

    The following is an example of how cgGetProfile might be used.

      CGprofile ARBVP1Profile = cgGetProfile("arbvp1");

      if(cgGetProgramProfile(myprog) == ARBVP1Profile)
       {
        /* Do stuff */
       }

RETURN VALUES
    Returns the profile enumerant of profile_string. If no such profile
    exists CG_UNKNOWN will be returned.

ERRORS
SEE ALSO
    the cgGetProfileString manpage, the cgGetProgramProfile manpage

