Cg Core Runtime API cgGetMatrixParameterir(3)
NAME
cgGetatrixParameterir - get the values from a matrix
parameter
SYNOPSIS
#include
void cgGetMatrixParameterir( CGparameter param,
int * matrix );
PARAMETERS
param The parameter from which the values will be
returned.
matrix An array of ints into which the matrix values 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
cgGetatrixParameterir retrieves the values of the given
matrix parameter using row-major ordering.
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
cgGetatrixParameterir was introduced in Cg 1.4.
SEE ALSO
cgGetParameterRows, cgGetParameterColumns,
cgGetMatrixParameter, cgGetParameterValues
Cg Toolkit 2.1 Last change: 1
|