NAME

cgIsEffect - determine if an effect handle references a valid effect

SYNOPSIS

  #include <Cg/cg.h>

  CGbool cgIsEffect( CGeffect effect );

PARAMETERS

effect

The effect handle to check.

RETURN VALUES

to-be-written

DESCRIPTION

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

EXAMPLES

to-be-written

ERRORS

cgIsEffect does not generate any errors.

HISTORY

cgIsEffect was introduced in Cg 1.4.

SEE ALSO

cgCreateEffect, cgCreateEffectFromFile