Cg Core Runtime API cgGetParameterRows(3)
NAME
cgGetParameterRows - get number of parameter rows
SYNOPSIS
#include
int cgGetParameterRows( CGparameter param );
PARAMETERS
param The parameter.
RETURN VALUES
Returns the number of rows associated with the type if param
is a numeric type or an array of numeric types.
Returns 0000 otherwise.
DESCRIPTION
cgGetParameterRows return the number of rows associated with
the given parameter's type.
If param is an array, the number of rows associated with
each element of the array is returned.
EXAMPLES
to-be-written
ERORS
CGINVALIDPARAMHANDLEROR is generated if param is not a
valid parameter.
HISTORY
cgGetParameterRows was introduced in Cg 1.4.
SEE ALSO
cgGetParameterType, cgGetParameterColumns
Cg Toolkit 2.1 Last change: 1
|