Tao.Cg SDK Documentation

CgGl.cgGLSetParameterPointer Method (IntPtr, Int32, Int32, Int32, Void*)

Sets parameter with attribute array.

[Visual Basic]
Overloads Public Shared Sub cgGLSetParameterPointer( _
   ByVal param As IntPtr, _
   ByVal fsize As Integer, _
   ByVal type As Integer, _
   ByVal stride As Integer, _
   ByVal pointer As Void* _
)
[C#]
public static void cgGLSetParameterPointer(
   IntPtr param,
   int fsize,
   int type,
   int stride,
   Void* pointer
);

Parameters

param
Parameter to be set.
fsize
Number of coordinates per vertex.
type
Data type of each coordinate.
stride
Specifies the byte offset between consecutive vertices. If stride is 0 the array is assumed to be tightly packed.
pointer
The pointer to the first coordinate in the vertex array.

See Also

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