MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Cg Core Runtime API                             cgGetStateName(3)



NAME
     cgGetStateName - get a state's name

SYNOPSIS
       #include 

       const char * cgGetStateName( CGstate state );


PARAMETERS
     state   The state.

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

     Returns NUL if state is invalid.

DESCRIPTION
     cgGetStateName allows the application to retrieve the name
     of a state defined in a Cg context.  This name can be used
     later to retrieve the state from the context using
     cgGetNamedState.

EXAMPLES
     to-be-written

ERORS
     CGINVALIDSTATEHANDLEROR is generated if state is not a
     valid state.

HISTORY
     cgGetStateName was introduced in Cg 1.4.

SEE ALSO
     cgGetNamedState, cgGetFirstState, cgGetNextState




















Cg Toolkit 2.1            Last change:                          1



OpenSolaris man pages main menu

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