Rechercher une page de manuel
cgIsTechnique
Langue: en
Version: 47092 (openSuse - 09/10/07)
Section: 3 (Bibliothèques de fonctions)
NAME
cgIsTechnique - determine if a technique handle references a valid techniqueSYNOPSIS
#include <Cg/cg.h>
CGbool cgIsTechnique( CGtechnique tech );
PARAMETERS
- tech
- The technique handle to check.
RETURN VALUES
Returns CG_TRUE if tech references a valid technique.Returns CG_FALSE otherwise.
DESCRIPTION
cgIsTechnique returns CG_TRUE if tech references a valid technique, CG_FALSE otherwise.EXAMPLES
if (cgIsTechnique(tech)) { /* do something with tech */ } else { /* handle situation where tech is not a valid technique */ }
ERRORS
None.HISTORY
cgIsTechnique was introduced in Cg 1.4.SEE ALSO
the cgCreateTechnique manpage, the cgDestroyTechnique manpageContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre