Rechercher une page de manuel
cgGetFirstTechnique
Langue: en
Version: 46962 (openSuse - 09/10/07)
Section: 3 (Bibliothèques de fonctions)
NAME
cgGetFirstTechnique - get the first technique in an effectSYNOPSIS
#include <Cg/cg.h>
CGtechnique cgGetFirstTechnique( CGeffect effect );
PARAMETERS
- effect
- The effect from which to retrieve the first technique.
RETURN VALUES
Returns the first CGtechnique object in effect.Returns NULL if effect contains no techniques or an error occurs.
DESCRIPTION
cgGetFirstTechnique is used to begin iteration over all of the techniques contained within a effect. See the cgGetNextTechnique manpage for more information.EXAMPLES
to-be-writtenERRORS
CG_INVALID_EFFECT_HANDLE_ERROR is generated if effect is not a valid effect.HISTORY
cgGetFirstTechnique was introduced in Cg 1.4.SEE ALSO
the cgGetNextTechnique manpage, the cgGetNamedTechnique manpage, the cgIsTechnique manpageContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre