NAME

cgSetFloatStateAssignment - set the value of a state assignment

SYNOPSIS

  #include <Cg/cg.h>

  CGbool cgSetFloatStateAssignment( CGstateassignment sa,
                                    float value );

PARAMETERS

sa

A handle to a state assignment of type CG_FLOAT, CG_FIXED, or CG_HALF.

value

The value to which sa will be set.

RETURN VALUES

cgSetFloatStateAssignment returns CG_TRUE if the value is set.

DESCRIPTION

cgSetFloatStateAssignment sets the value of the state assignment specified by sa to the floating-point value value.

EXAMPLES

to-be-written

ERRORS

to-be-written

HISTORY

cgSetFloatStateAssignment was introduced in Cg 1.5.

SEE ALSO

function1text, function2text