Renders the specified geometric primitive, based on indexing into an array of vertices.

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

Syntax

C#
public void DrawIndexedPrimitives(
	PrimitiveType primitiveType,
	int baseVertex,
	int minVertexIndex,
	int numVertices,
	int startIndex,
	int primitiveCount
)

Parameters

primitiveType
Type: PrimitiveType
Describes the type of primitive to render. PrimitiveType.PointList is not supported with this method.
baseVertex
Type: System..::.Int32
Offset to add to each vertex index in the index buffer.
minVertexIndex
Type: System..::.Int32
Minimum vertex index for vertices used during the call. The minVertexIndex parameter and all of the indices in the index stream are relative to the baseVertex parameter.
numVertices
Type: System..::.Int32
A number of vertices used during the call. The first vertex is located at index: baseVertex + minVertexIndex.
startIndex
Type: System..::.Int32
Location in the index array at which to start reading vertices.
primitiveCount
Type: System..::.Int32
A number of primitives to render. The number of vertices used is a function of primitiveCount and primitiveType. To determine the maximum number of primitives allowed, check the MaxPrimitiveCount property member of the Capabilities structure.

See Also