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