D3DDDIARG_DRAWINDEXEDPRIMITIVE structure (d3dumddi.h)
The D3DDDIARG_DRAWINDEXEDPRIMITIVE structure describes an indexed primitive to draw.
Syntax
typedef struct _D3DDDIARG_DRAWINDEXEDPRIMITIVE {
[in] D3DPRIMITIVETYPE PrimitiveType;
[in] INT BaseVertexIndex;
[in] UINT MinIndex;
[in] UINT NumVertices;
[in] UINT StartIndex;
[in] UINT PrimitiveCount;
} D3DDDIARG_DRAWINDEXEDPRIMITIVE;
Members
[in] PrimitiveType
A D3DPRIMITIVETYPE-typed value that indicates the type of primitive to draw. This member can be one of the following values: D3DPT_POINTLIST, D3DPT_LINELIST, D3DPT_LINESTRIP, D3DPT_TRIANGLELIST, D3DPT_TRIANGLESTRIP, or D3DPT_TRIANGLEFAN. For more information about D3DPRIMITIVETYPE, see the Microsoft Windows SDK documentation.
[in] BaseVertexIndex
The number that should be added to each index that is referenced by the various primitives to determine the actual index of the vertex elements in each vertex stream.
[in] MinIndex
The minimum index of a range of vertices that are potentially accessed by the primitives to be drawn and, therefore, which vertices should be processed.
[in] NumVertices
The number of vertices in a range that are potentially accessed by the primitives to be drawn and, therefore, which vertices should be processed.
[in] StartIndex
The first index in the index buffer from which indices are read to draw the primitives.
[in] PrimitiveCount
The number of triangles, lines, or points to draw for the given primitive.
Remarks
The Microsoft Direct3D runtime does not transform the index data before passing a pointer to the description of the index data in the pData parameter in a call to the user-mode display driver's DrawIndexedPrimitive function.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available in Windows Vista and later versions of the Windows operating systems. |
Header | d3dumddi.h (include D3dumddi.h) |