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