NAME

cgIsContext - determine if a CGcontext references a Cg valid context

SYNOPSIS

  #include <Cg/cg.h>

  CGbool cgIsContext(CGcontext ctx);

PARAMETERS

ctx

Specifies the context handle to check.

DESCRIPTION

cgIsContext returns CG_TRUE if ctx references a valid context, CG_FALSE otherwise.

ERRORS

SEE ALSO

the "cgCreateContext" document, the "cgDestroyContext" document