Drawing3d documented Class Library

OpenGlDevice.glVertexPointer Method

define an array of vertex data

[Visual Basic]
Public Shared Sub glVertexPointer( _
   ByVal Size As Integer, _
   ByVal Type As Integer, _
   ByVal Stride As Integer, _
   ByRef Position As Double _
)
[C#]
public static void glVertexPointer(
   int Size,
   int Type,
   int Stride,
   ref double Position
);

Parameters

Size
Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4.
Type
Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT.
Stride
Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0.
Position
Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0.

See Also

OpenGlDevice Class | Drawing3d.Devices Namespace