Cg OpenGL Runtime API cgGLSetMatrixParameterfr(3)
NAME
cgGLSetatrixParameterfr - set the values of a matrix array
parameter
SYNOPSIS
#include
void cgGLSetMatrixParameterfr( CGparameter param,
const float * 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
cgGLSetatrixParameterfr sets the value of a matrix
parameter from an array of floats laid out in row-major
order.
cgGLSetatrixParameterfr functions may only be called with
uniform parameters.
EXAMPLES
to-be-written
ERORS
CGINVALIDPROFILEROR is generated if param's profile is
not a supported OpenGL profile.
CGNOTMATRIXPARAMEROR is generated if param is not a
matrix parameter.
CGINVALIDPARAMHANDLEROR is generated if param is not a
valid parameter.
CGINVALIDPARAMETEREROR is generated if the parameter
fails to set for any other reason.
HISTORY
cgGLSetatrixParameterfr was introduced in Cg 1.1.
SEE ALSO
cgGLGetMatrixParameter, cgGLSetMatrixParameterArray,
cgGLSetParameter
Cg Toolkit 2.1 Last change: 1
|