MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Cg Core Runtime API                            cgGetTypeString(3)



NAME
     cgGetTypeString - get the type name associated with a type
     enumerant

SYNOPSIS
       #include 

       const char * cgGetTypeString( CGtype type );


PARAMETERS
     type    The type enumerant.

RETURN VALUES
     Returns the type string of the enumerant type.

DESCRIPTION
     cgGetTypeString returns the type named associated with a
     type enumerant.

EXAMPLES
       const char *MatrixTypeStr = cgGetTypeString(CGFLOAT4x4);

       /* MatrixTypeStr will be "float4x4" */


ERORS
     None.

HISTORY
     cgGetTypeString was introduced in Cg 1.1.

SEE ALSO
     cgGetType, cgGetParameterType





















Cg Toolkit 2.1            Last change:                          1



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™