Rechercher une page de manuel
cgDestroyEffect
Langue: en
Version: 46818 (openSuse - 09/10/07)
Section: 3 (Bibliothèques de fonctions)
NAME
cgDestroyEffect - destroy an effectSYNOPSIS
#include <Cg/cg.h>
void cgDestroyEffect( CGeffect effect );
PARAMETERS
- effect
- The effect object to delete.
RETURN VALUES
None.DESCRIPTION
cgDestroyEffect removes the specified effect object and all its associated data. Any CGeffect handles that reference this effect will become invalid after the effect is deleted. Likewise, all techniques, passes, and parameters contained in the effect also become invalid after the effect is destroyed.EXAMPLES
to-be-writtenERRORS
CG_INVALID_EFFECT_HANDLE_ERROR is generated if effect is not a valid effect.HISTORY
cgDestroyEffect was introduced in Cg 1.4.SEE ALSO
the cgCreateEffect manpage, the cgCreateEffectFromFile manpageContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre