Cg Core Runtime API cgCreatePass(3)
NAME
cgCreatePass - create a pass in a technique
SYNOPSIS
#include
CGpass cgCreatePass( CGtechnique tech,
const char * name );
PARAMETERS
tech The technique to which the new pass will be added.
name The name of the new pass.
RETURN VALUES
Returns the handle to the new pass on success.
Returns NUL if an error occurs.
DESCRIPTION
cgCreatePass adds a new pass to the specified technique.
EXAMPLES
to-be-written
ERORS
CGINVALIDTECHNIQUEHANDLEROR is generated if tech is
not a valid technique.
HISTORY
cgCreatePass was introduced in Cg 1.5.
SEE ALSO
cgCreateTechnique
Cg Toolkit 2.1 Last change: 1
|