Rechercher une page de manuel
cgGetEffectContext
Langue: en
Version: 46935 (openSuse - 09/10/07)
Section: 3 (Bibliothèques de fonctions)
NAME
cgGetEffectContext - get a effect's contextSYNOPSIS
#include <Cg/cg.h>
CGcontext cgGetEffectContext( CGeffect effect );
PARAMETERS
- effect
- The effect.
RETURN VALUES
Returns the context to which effect belongs.Returns NULL if an error occurs.
DESCRIPTION
cgGetEffectContext allows the application to retrieve a handle to the context to which a given effect belongs.EXAMPLES
to-be-writtenERRORS
CG_INVALID_EFFECT_HANDLE_ERROR is generated if effect is not a valid effect.HISTORY
cgGetEffectContext was introduced in Cg 1.4.SEE ALSO
the cgCreateEffect manpage, the cgCreateEffectFromFile manpage, the cgCreateContext manpageContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre