NAME
    cgCreateContext - create a Cg context

SYNOPSIS
      #include <Cg/cg.h>

      CGcontext cgCreateContext();

DESCRIPTION
    cgCreateContext creates a Cg context object and returns its handle. A Cg
    context is a container for Cg programs. All Cg programs must be added as
    part of a context.

RETURN VALUES
    Returns a valid CGcontext on success. NULL is returned if context
    creation fails.

ERRORS
    CG_MEMORY_ALLOC_ERROR is generated if a context couldn't be created.

SEE ALSO
    the cgDestroyContext manpage

