Cg Core Runtime API cgSetFloatAnnotation(3)
NAME
cgSetFloatAnnotation - set the value of a float annotation
SYNOPSIS
#include
CGbool cgSetFloatAnnotation( CGannotation ann,
float value );
PARAMETERS
ann The annotation that will be set.
value The value to which ann will be set.
RETURN VALUES
Returns CGTRUE if it succeeds in setting the annotation.
Returns CGFALSE otherwise.
DESCRIPTION
cgSetFloatAnnotation sets the value of an annotation of
float type.
EXAMPLES
to-be-written
ERORS
CGINVALIDANOTATIONHANDLEROR is generated if ann is
not a valid annotation.
CGINVALIDPARAMETERTYPEROR is generated if ann is not
an annotation of float type.
CGARAYSIZEMISMATCHEROR is generated if ann is not a
scalar.
HISTORY
cgSetFloatAnnotation was introduced in Cg 1.5.
SEE ALSO
cgGetFloatAnnotationValues, cgSetBoolAnnotation,
cgSetIntAnnotation, cgSetStringAnnotation
Cg Toolkit 2.1 Last change: 1
|