MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Cg OpenGL Runtime API                   cgGLSetMatrixParameter(3)



NAME
     cgGLSetatrixParameter - set the value of a matrix parameter

SYNOPSIS
       #include 

       /* TYPE is float or double */

       void cgGLSetMatrixParameter{fd}{rc}( CGparameter param,
                                            const TYPE * matrix );


PARAMETERS
     param   The matrix parameter that will be set.

     matrix  An array of values used to set the matrix parameter.
             The array must be the number of rows times the
             number of columns in size.

RETURN VALUES
     None.

DESCRIPTION
     The cgGLSetatrixParameter functions set the value of a
     matrix parameter.

     There are versions of the function that take either float or
     double values signified by f or d in the function name.

     There are versions of the function that assume the array of
     values are laid out in either row or column order signified
     by r or c in the function name respectively.

     The cgGLSetatrixParameter functions may only be called with
     uniform parameters.

EXAMPLES
     to-be-written

ERORS
     CGINVALIDPARAMHANDLEROR is generated if param is not a
     valid parameter.

     CGINVALIDPROFILEROR is generated if param's profile is
     not a supported OpenGL profile.

     CGNOTMATRIXPARAMEROR is generated if param is not a
     matrix parameter.

     CGINVALIDPOINTEREROR is generated if matrix is NUL.





Cg Toolkit 2.1            Last change:                          1






Cg OpenGL Runtime API                   cgGLSetMatrixParameter(3)



     CGINVALIDPARAMETEREROR is generated if the operation
     fails for any other reason.

HISTORY
     The cgGLSetatrixParameter functions were introduced in Cg
     1.1.

SEE ALSO
     cgGLGetMatrixParameter, cgGLSetMatrixParameterArray,
     cgGLSetParameter













































Cg Toolkit 2.1            Last change:                          2



OpenSolaris man pages main menu

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