Cg Core Runtime API cgGetProgramProfile(3)
NAME
cgGetProgramProfile - get a program's profile
SYNOPSIS
#include
CGprofile cgGetProgramProfile( CGprogram program );
PARAMETERS
program The program.
RETURN VALUES
Returns the profile enumerant associated with program.
DESCRIPTION
cgGetProgramProfile retrieves the profile enumerant
currently associated with a program.
EXAMPLES
to-be-written
ERORS
CGINVALIDPROGRAMHANDLEROR is generated if program is
not a valid program handle.
HISTORY
cgGetProgramProfile was introduced in Cg 1.1.
SEE ALSO
cgSetProgramProfile, cgGetProfile, cgGetProfileString,
cgCreateProgram
Cg Toolkit 2.1 Last change: 1
|