Tao.Cg SDK Documentation

CgGl.cgGLSetMatrixParameterArrayfc Method (IntPtr, Int64, Int64, IntPtr)

Sets an array matrix parameters (float) in column order.

[Visual Basic]
Overloads Public Shared Sub cgGLSetMatrixParameterArrayfc( _
   ByVal param As IntPtr, _
   ByVal offset As Long, _
   ByVal nelements As Long, _
   ByVal matrices As IntPtr _
)
[C#]
public static void cgGLSetMatrixParameterArrayfc(
   IntPtr param,
   long offset,
   long nelements,
   IntPtr matrices
);

Parameters

param
Parameter to be set.
offset
An offset into the array parameter to start setting from.
nelements
The number of elements to set. A value of 0 will default to the number of elements in the array minus the offset value.
matrices
The array of values to set the parameter to. This must be a contiguous set of values that total nelements times the number of elements in the matrix.

See Also

CgGl Class | Tao.Cg Namespace | CgGl.cgGLSetMatrixParameterArrayfc Overload List