Rechercher une page de manuel
cgIsStateAssignment
Langue: en
Version: 47091 (openSuse - 09/10/07)
Section: 3 (Bibliothèques de fonctions)
NAME
cgIsStateAssignment - determine if a state assignment handle references a valid Cg state assignmentSYNOPSIS
#include <Cg/cg.h>
CGbool cgIsStateAssignment( CGstateassignment sa );
PARAMETERS
- sa
- The state assignment handle to check.
RETURN VALUES
Returns CG_TRUE if sa references a valid state assignment.Returns CG_FALSE otherwise.
DESCRIPTION
cgIsStateAssignment returns CG_TRUE if sa references a valid state assignment, CG_FALSE otherwise.EXAMPLES
if (cgIsStateAssignment(sa)) { /* do something with sa */ } else { /* handle situation where sa is not a valid state assignment */ }
ERRORS
None.HISTORY
cgIsStateAssignment was introduced in Cg 1.4.SEE ALSO
cgCreateStateAssignment, cgCreateStateAssignmentIndex, cgGetFirstStateAssignment, cgGetFirstSamplerStateAssignment, cgGetNamedStateAssignment, cgGetNamedSamplerStateAssignment, cgGetNextStateAssignment, cgGetStateAssignmentIndex, cgGetStateAssignmentPass, cgGetStateAssignmentStateContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre