Rechercher une page de manuel
cgGetFirstStateAssignment
Langue: en
Version: 46960 (openSuse - 09/10/07)
Section: 3 (Bibliothèques de fonctions)
NAME
cgGetFirstStateAssignment - get the first state assignment in a passSYNOPSIS
#include <Cg/cg.h>
CGstateassignment cgGetFirstStateAssignment( CGpass pass );
PARAMETERS
- pass
- The pass from which to retrieve the first state assignment.
RETURN VALUES
Returns the first CGstateassignment object in pass.Returns NULL if pass contains no state assignments or an error occurs.
DESCRIPTION
cgGetFirstStateAssignment is used to begin iteration over all of the state assignment contained within a pass. See the cgGetNextStateAssignment manpage for more information.EXAMPLES
to-be-writtenERRORS
CG_INVALID_PASS_HANDLE_ERROR is generated if pass is not a valid pass.HISTORY
cgGetFirstStateAssignment was introduced in Cg 1.4.SEE ALSO
the cgGetNextStateAssignment manpage, the cgIsStateAssignment manpageContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre