NAME

cgIsContext - determine if a context handle references a valid context

SYNOPSIS

  #include <Cg/cg.h>

  CGbool cgIsContext( CGcontext context );

PARAMETERS

context

The context handle to check.

RETURN VALUES

to-be-written

DESCRIPTION

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

EXAMPLES

to-be-written

ERRORS

to-be-written

HISTORY

cgIsContext was introduced in Cg 1.1.

SEE ALSO

cgCreateContext, cgDestroyContext