NAME

cgIsState - determine if a CGstate references a Cg valid state

SYNOPSIS

  #include <Cg/cg.h>

  CGbool cgIsState(CGstate state);

PARAMETERS

state

Specifies the state handle to check.

DESCRIPTION

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

ERRORS

This function generates no errors.

SEE ALSO

cgCreateState