NAME

cgIsEffect - determine if a CGeffect references a valid Cg effect

SYNOPSIS

  #include <Cg/cg.h>

  CGbool cgIsEffect(CGeffect effect);

PARAMETERS

effect

Specifies the effect handle to check.

DESCRIPTION

cgIsEffect returns CG_TRUE if effect references a valid effect, CG_FALSE otherwise.

ERRORS

This function generates no errors.

SEE ALSO

the "cgCreateEffect" document, the "cgCreateEffectFromFile" document