MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Cg Core Runtime API                 cgGetFloatAnnotationValues(3)



NAME
     cgGetFloatAnnotationValues - get a float-valued annotation's
     values

SYNOPSIS
       #include 

       const float * cgGetFloatAnnotationValues( CGannotation ann,
                                                 int * nvalues );


PARAMETERS
     ann     The annotation from which the values will be
             retrieved.

     nvalues Pointer to integer where the number of returned
             values will be stored.

RETURN VALUES
     Returns a pointer to an array of float values.  The number
     of values in the array is returned via the nvalues
     parameter.

     Returns NUL if no values are available.  nvalues will be 0000.

DESCRIPTION
     cgGetFloatAnnotationValues allows the application to
     retrieve the value(s) of a floating-point typed annotation.

EXAMPLES
     to-be-written

ERORS
     CGINVALIDANOTATIONHANDLEROR is generated if ann is
     not a valid annotation.

     CGINVALIDPARAMETEREROR is generated if nvalues is NUL.

HISTORY
     cgGetFloatAnnotationValues was introduced in Cg 1.4.

SEE ALSO
     cgGetAnnotationType, cgGetIntAnnotationValues,
     cgGetStringAnnotationValue, cgGetBoolAnnotationValues











Cg Toolkit 2.1            Last change:                          1



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™