NAME

cgGetAutoCompile - get the auto-compile enumerant for a context

SYNOPSIS

  #include <Cg/cg.h>

  CGenum    cgGetAutoCompile(CGcontext ctx);

PARAMETERS

ctx

Specifies the context.

DESCRIPTION

Returns the auto-compile enumerant for the context ctx. See cgSetAutoCompile for more information.

ERRORS

CG_INVALID_CONTEXT_HANDLE_ERROR is generated, and CG_UNKNOWN returned, if ctx is not a valid context.

SEE ALSO

cgSetAutoCompile