NAME
cgGetTechniqueEffect - get a technique's effect
SYNOPSIS
#include <Cg/cg.h> CGeffect cgGetTechniqueEffect( CGtechnique tech );PARAMETERS
- tech
The technique.
RETURN VALUES
Returns a CGeffect handle to the effect. In the event of an error NULL is returned.
DESCRIPTION
cgGetTechniqueEffect allows the application to retrieve a handle to the effect a given technique belongs to.
EXAMPLES
to-be-written
ERRORS
CG_INVALID_TECHNIQUE_HANDLE_ERROR is generated if tech does not refer to a valid technique.
HISTORY
cgGetTechniqueEffect was introduced in Cg 1.4.
SEE ALSO