NAME
cgGetStateResetCallback - get the state resetting callback function for a state
SYNOPSIS
#include <Cg/cg.h> CGstatecallback cgGetStateResetCallback( CGstate state );PARAMETERS
- state
Specifies the state to retrieve the callback from.
DESCRIPTION
cgGetStateResetCallback returns the callback function used for resetting the state when the given state is encountered in a pass in a technique. See the "cgSetStateCallbacks" document for more information.
RETURN VALUES
cgStateResetCallback returns a pointer to the state resetting callback function. If state is not a valid state or if it has no callback, NULL is returned.
ERRORS
CG_INVALID_STATE_HANDLE_ERROR is generated if state does not refer to a valid state.
SEE ALSO
the "cgSetStateCallbacks" document, the "cgCallStateResetCallback" document, and the "cgResetPassState" document