Tao.Cg SDK Documentation

Cg.cgGetProfile Method 

Returns a profile enum value based on the string representation of the profile.

[Visual Basic]
Public Shared Function cgGetProfile( _
   ByVal profile As String _
) As Integer
[C#]
public static int cgGetProfile(
   string profile
);

Parameters

profile
Name of the profile, i.e. arbvp1, vs_1_1, etc.

Return Value

Enum value containing the integral representation of the profile.

See Also

Cg Class | Tao.Cg Namespace