Cg Core Runtime API cgDestroyContext(3)
NAME
cgDestroyContext - destroy a context
SYNOPSIS
#include
void cgDestroyContext( CGcontext context );
PARAMETERS
context
The context to be deleted.
RETURN VALUES
None.
DESCRIPTION
cgDestroyContext deletes a Cg context object and all the
programs it contains.
EXAMPLES
to-be-written
ERORS
CGINVALIDCONTEXTHANDLEROR is generated if context is
not a valid context.
HISTORY
cgDestroyContext was introduced in Cg 1.1.
SEE ALSO
cgCreateContext
Cg Toolkit 2.1 Last change: 1
|