NAME
cgDestroyContext - delete a Cg context
SYNOPSIS
#include <Cg/cg.h> void cgDestroyContext(CGcontext ctx);PARAMETERS
- ctx
Specifies the context to be deleted.
DESCRIPTION
cgDestroyContext deletes a Cg context object and all the programs it contains.
ERRORS
CG_INVALID_CONTEXT_HANDLE_ERROR is generated if the ctx context handle is invalid.
SEE ALSO