Cg Core Runtime API cgGetPassName(3)
NAME
cgGetPassName - get a technique pass's name
SYNOPSIS
#include
const char * cgGetPassName( CGpass pass );
PARAMETERS
pass The pass.
RETURN VALUES
Returns the NUL-terminated name string for the pass.
Returns NUL if pass is invalid.
DESCRIPTION
cgGetPassName allows the application to retrieve the name of
a pass in a Cg program. This name can be used later to
retrieve the pass from the program using cgGetNamedPass.
EXAMPLES
to-be-written
ERORS
CGINVALIDPASHANDLEROR is generated if pass is not a
valid pass.
HISTORY
cgGetPassName was introduced in Cg 1.4.
SEE ALSO
cgGetNamedPass, cgGetFirstPass, cgGetNextPass
Cg Toolkit 2.1 Last change: 1
|