NAME
cgGetStateType - returns the type of a given state
SYNOPSIS
#include <Cg/cg.h> CGtype cgGetStateType(CGstate state);PARAMETERS
- state
Specifies the state to return the type of.
DESCRIPTION
cgGetStateType returns the type of a state that was previously defined via the "cgCreateState" document, the "cgCreateArrayState" document, the "cgCreateSamplerState" document, or the "cgCreateSamplerArrayState" document.
RETURN VALUES
Returns the CGtype of the given state.
ERRORS
CG_INVALID_STATE_HANDLE_ERROR is generated if state does not refer to a valid state.
SEE ALSO
the "cgCreateState" document, the "cgCreateArrayState" document, the "cgCreateSamplerState" document, the "cgCreateSamplerArrayState" document, and the "cgGetStateName" document.