Tao.Cg SDK Documentation

Cg.cgGetProgramProfile Method 

Gets the profile enumeration of the program.

[Visual Basic]
Public Shared Function cgGetProgramProfile( _
   ByVal prog As IntPtr _
) As Integer
[C#]
public static int cgGetProgramProfile(
   IntPtr prog
);

Parameters

prog
Specifies the program.

Return Value

The profile enumeration or CG_PROFILE_UNKNOWN if compilation failed.

See Also

Cg Class | Tao.Cg Namespace