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