NAME

cgIsStateAssignment - determine if a state assignment handle references a valid Cg state assignment

SYNOPSIS

  #include <Cg/cg.h>

  CGbool cgIsStateAssignment( CGstateassignment sa );

PARAMETERS

sa

The state assignment handle to check.

RETURN VALUES

to-be-written

DESCRIPTION

cgIsStateAssignment returns CG_TRUE if sa references a valid state assignment, CG_FALSE otherwise.

EXAMPLES

to-be-written

ERRORS

cgIsStateAssignment does not generate any errors.

HISTORY

cgIsStateAssignment was introduced in Cg 1.4.

SEE ALSO

function1text, function2text