Renders a sequence of non-indexed geometric primitives of the specified type from the current set of data input streams using current Effect()()().

Namespace:  Hilva.Materials
Assembly:  Hilva (in Hilva.dll)

Syntax

C#
public void DrawPrimitives(
	PrimitiveType primitiveType,
	int startVertex,
	int primitiveCount
)

Parameters

primitiveType
Type: PrimitiveType
Describes the type of primitive to render.
startVertex
Type: System..::.Int32
Index of the first vertex to load. Beginning at startVertex, the correct number of vertices is read out of the vertex buffer.
primitiveCount
Type: System..::.Int32
Number of primitives to render. To determine the maximum number of primitives allowed, check GraphicsDeviceCapabilities.MaxPrimitiveCount. The primitiveCount is the number of primitives as determined by the primitive type. If it is a line list, each primitive has two vertices. If it is a triangle list, each primitive has three vertices.

See Also