Rechercher une page de manuel
cgSetBoolStateAssignment
Langue: en
Version: 47099 (openSuse - 09/10/07)
Section: 3 (Bibliothèques de fonctions)
NAME
cgSetBoolStateAssignment - set the value of a bool state assignmentSYNOPSIS
#include <Cg/cg.h>
CGbool cgSetBoolStateAssignment( CGstateassignment sa, CGbool value );
PARAMETERS
- sa
- A handle to a state assignment of type CG_BOOL.
- value
- The value to which sa will be set.
RETURN VALUES
Returns CG_TRUE if it succeeds in setting the state assignment.Returns CG_FALSE otherwise.
DESCRIPTION
cgSetBoolStateAssignment sets the value of a state assignment of bool type.EXAMPLES
to-be-writtenERRORS
CG_INVALID_STATE_ASSIGNMENT_HANDLE_ERROR is generated if sa is not a valid state assignment.CG_STATE_ASSIGNMENT_TYPE_MISMATCH_ERROR is generated if sa is not a state assignment of a bool type.
CG_ARRAY_SIZE_MISMATCH_ERROR is generated if sa is an array and not a scalar.
HISTORY
cgSetBoolStateAssignment was introduced in Cg 1.5.SEE ALSO
the cgGetBoolStateAssignmentValues manpage, the cgSetBoolArrayStateAssignment manpage, the cgSetFloatArrayStateAssignment manpage, the cgSetFloatStateAssignment manpage, the cgSetIntArrayStateAssignment manpage, the cgSetIntStateAssignment manpage, the cgSetProgramStateAssignment manpage, the cgSetSamplerStateAssignment manpage, the cgSetStringStateAssignment manpage, the cgSetTextureStateAssignment manpageContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre