Cg Core Runtime API cgDestroyEffect(3)
NAME
cgDestroyEffect - destroy an effect
SYNOPSIS
#include
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-written
ERORS
CGINVALIDEFECTHANDLEROR is generated if effect is not
a valid effect.
HISTORY
cgDestroyEffect was introduced in Cg 1.4.
SEE ALSO
cgCreateEffect, cgCreateEffectFromFile
Cg Toolkit 2.1 Last change: 1
|