NAME
cgSetPassState - calls the state setting callback functions for all of the state assignments in a pass.
SYNOPSIS
#include <Cg/cg.h> void cgSetPassState(CGpass pass);PARAMETERS
- pass
Specifies the pass handle.
DESCRIPTION
cgSetPassState sets all of the graphics state defined in a pass by calling the state setting callbacks for all of the state assignments in the pass.
ERRORS
CG_INVALID_PASS_ERROR is generated if pass does not refer to a valid pass.
CG_INVALID_TECHNIQUE_ERROR if the technique that the pass is a part of has failed validation.
SEE ALSO
the "cgResetPassState" document, the "cgCallStateSetCallback" document