Rechercher une page de manuel
cgGetStateName
Langue: en
Version: 47060 (openSuse - 09/10/07)
Section: 3 (Bibliothèques de fonctions)
NAME
cgGetStateName - get a state's nameSYNOPSIS
#include <Cg/cg.h>
const char * cgGetStateName( CGstate state );
PARAMETERS
- state
- The state.
RETURN VALUES
Returns the NULL-terminated name string for the state.Returns NULL if state is invalid.
DESCRIPTION
cgGetStateName allows the application to retrieve the name of a state defined in a Cg context. This name can be used later to retrieve the state from the context using the cgGetNamedState manpage.EXAMPLES
to-be-writtenERRORS
CG_INVALID_STATE_HANDLE_ERROR is generated if state is not a valid state.HISTORY
cgGetStateName was introduced in Cg 1.4.SEE ALSO
the cgGetNamedState manpage, the cgGetFirstState manpage, the cgGetNextState manpageContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre