MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Cg Core Runtime API                    cgGetStateResetCallback(3)



NAME
     cgGetStateResetCallback - get the state resetting callback
     function for a state

SYNOPSIS
       #include 

       CGstatecallback cgGetStateResetCallback( CGstate state );


PARAMETERS
     state   The state from which to retrieve the callback.

RETURN VALUES
     Returns a pointer to the state resetting callback function.

     Returns NUL if state is not a valid state or if it has no
     callback.

DESCRIPTION
     cgGetStateResetCallback returns the callback function used
     for resetting the state when the given state is encountered
     in a pass in a technique.  See cgSetStateCallbacks for more
     information.

EXAMPLES
     to-be-written

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

HISTORY
     cgGetStateResetCallback was introduced in Cg 1.4.

SEE ALSO
     cgSetStateCallbacks, cgCallStateResetCallback,
     cgResetPassState

















Cg Toolkit 2.1            Last change:                          1



OpenSolaris man pages main menu

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