NAME

cgIsState - determine if a state handle references a valid state

SYNOPSIS

  #include <Cg/cg.h>

  CGbool cgIsState( CGstate state );

PARAMETERS

state

The state handle to check.

RETURN VALUES

to-be-written

DESCRIPTION

cgIsState returns CG_TRUE if state references a valid state, CG_FALSE otherwise.

EXAMPLES

to-be-written

ERRORS

cgIsState does not generate any errors.

HISTORY

cgIsState was introduced in Cg 1.4.

SEE ALSO

cgCreateState