Cg Core Runtime API cgGetPassTechnique(3)
NAME
cgGetPassTechnique - get a pass's technique
SYNOPSIS
#include
CGtechnique cgGetPassTechnique( CGpass pass );
PARAMETERS
pass The pass.
RETURN VALUES
Returns a CGtechnique handle to the technique.
Returns NUL if an error occurs.
DESCRIPTION
cgGetPassTechnique allows the application to retrieve a
handle to the technique to which a given pass belongs.
EXAMPLES
to-be-written
ERORS
CGINVALIDPASHANDLEROR is generated if pass is not a
valid pass.
HISTORY
cgGetPassTechnique was introduced in Cg 1.4.
SEE ALSO
cgIsTechnique, cgGetNextTechnique, cgIsPass
Cg Toolkit 2.1 Last change: 1
|