NAME
cgCallStateSetCallback - calls the state setting callback function for a state assignment.
SYNOPSIS
#include <Cg/cg.h> CGbool cgCallStateSetCallback(CGstateassignment sa);PARAMETERS
- sa
Specifies the state assignment handle.
RETURN VALUES
The boolean value returned by the callback function is returned. It should be CG_TRUE upon success. If no callback function was defined, CG_TRUE is returned.
DESCRIPTION
cgCallStateSetCallback calls the graphics state setting callback function for the given state assignment.
ERRORS
CG_INVALID_STATE_ASSIGNMENT_ERROR is generated if sa does not refer to a valid state assignment.
SEE ALSO