Tao.Cg SDK Documentation

CgGl.cgGLGetLatestProfile Method 

Returns the best profile available.

[Visual Basic]
Public Shared Function cgGLGetLatestProfile( _
   ByVal profile_type As Integer _
) As Integer
[C#]
public static int cgGLGetLatestProfile(
   int profile_type
);

Parameters

profile_type
CG_GL_VERTEX or CG_GL_FRAGMENT program to look for the best matching profile.

Return Value

Returns the best profile available.

See Also

CgGl Class | Tao.Cg Namespace