Cg Core Runtime API cgSetPassState(3)
NAME
cgSetPassState - calls the state setting callback functions
for all state assignments in a pass
SYNOPSIS
#include
void cgSetPassState( CGpass pass );
PARAMETERS
pass The pass handle.
RETURN VALUES
None.
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.
EXAMPLES
to-be-written
ERORS
CGINVALIDPASHANDLEROR is generated if pass is not a
valid pass.
CGINVALIDTECHNIQUEROR is generated if the technique of
which pass is a part has failed validation.
HISTORY
cgSetPassState was introduced in Cg 1.4.
SEE ALSO
cgResetPassState, cgCallStateSetCallback
Cg Toolkit 2.1 Last change: 1
|