MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Cg Core Runtime API                         cgGetTechniqueName(3)



NAME
     cgGetTechniqueName - get a technique's name

SYNOPSIS
       #include 

       const char * cgGetTechniqueName( CGtechnique tech );


PARAMETERS
     tech    The technique.

RETURN VALUES
     Returns the NUL-terminated name string for the technique.

     Returns NUL if tech is invalid.

DESCRIPTION
     cgGetTechniqueName allows the application to retrieve the
     name of a technique in a Cg effect.  This name can be used
     later to retrieve the technique from the effect using
     cgGetNamedTechnique.

EXAMPLES
     to-be-written

ERORS
     CGINVALIDTECHNIQUEHANDLEROR is generated if tech is
     not a valid technique.

HISTORY
     cgGetTechniqueName was introduced in Cg 1.4.

SEE ALSO
     cgGetNamedTechnique, cgGetFirstTechnique, cgGetNextTechnique




















Cg Toolkit 2.1            Last change:                          1



OpenSolaris man pages main menu

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