MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Cg Core Runtime API                       cgGetMatrixParameter(3)



NAME
     cgGetatrixParameter - gets the values from a matrix
     parameter

SYNOPSIS
       #include 

       /* TYPE is int, float, or double */

       void cgGetMatrixParameter{ifd}{rc}( CGparameter param,
                                           TYPE * matrix );


PARAMETERS
     param   The parameter from which the values will be
             returned.

     matrix  An array of values into which the parameter's value
             will be written.  The array must have size equal to
             the number of rows in the matrix times the number of
             columns in the matrix.

RETURN VALUES
     None.

DESCRIPTION
     The cgGetatrixParameter functions retrieve the value of a
     given matrix parameter.  The functions are available in
     various combinations.

     There are versions of each function that take int, float or
     double values signified by the i, f or d in the function
     name.

     There are versions of each function that specify the order
     in which matrix values should be written to the array.
     Row-major copying is indicated by r, while column-major is
     indicated by c.

EXAMPLES
     to-be-written

ERORS
     CGNOTMATRIXPARAMEROR is generated if param is not a
     matrix parameter.

     CGINVALIDPARAMHANDLEROR is generated if param is not a
     valid parameter.

HISTORY
     The cgGetatrixParameter functions were introduced in Cg
     1.4.



Cg Toolkit 2.1            Last change:                          1






Cg Core Runtime API                       cgGetMatrixParameter(3)



SEE ALSO
     cgGetParameterRows, cgGetParameterColumns,
     cgGetParameterValues




















































Cg Toolkit 2.1            Last change:                          2



OpenSolaris man pages main menu

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