NAME

cgSetFloatStateAssignment - Set the value of a state assignment to a floating-point value.

SYNOPSIS

  #include <Cg/cg.h>

  CGbool cgSetFloatStateAssignment(CGstateassignment sa, float value);

PARAMETERS

sa

A handle to a state assignment of type CG_FLOAT.

value

A floating-point value.

DESCRIPTION

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

EXAMPLE

write_me

RETURN VALUES

cgSetFloatStateAssignment returns CG_TRUE if the value is set.

ERRORS

HISTORY

This function was introduced with Cg 1.5.

SEE ALSO