D3DM_DRAWINDEXEDPRIMITIVE (Windows Embedded CE 6.0)
1/6/2010
This structure contains the contents of the D3DMOP_DRAWINDEXEDPRIMITIVE command token (see D3DM_OPERATION), which instructs the driver to draw a primitive using the current driver state and indices from the current index buffer.
Syntax
typedef struct _D3DM_DRAWINDEXEDPRIMITIVE {
D3DMPRIMITIVETYPE PrimType;
DWORD MinIndex;
DWORD NumVertices;
DWORD StartIndexOffset;
DWORD PrimitiveCount;
INT BaseVertexIndex;
} D3DM_DRAWINDEXEDPRIMITIVE, * LPD3DM_DRAWINDEXEDPRIMITIVE;
Members
- PrimType
A D3DMPRIMITIVETYPE value that specifies the type of primitive the driver should draw.
- MinIndex
A DWORD value that specifies 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.
- NumVertices
A DWORD value that specifies the number of vertices in a range that are potentially accessed by the primitives to be drawn and, therefore, which vertices should be processed.
- StartIndexOffset
A DWORD value that specifie the offset of the first index in the index buffer from which indices are read to draw the primitives.
- PrimitiveCount
A DWORD that specifies the number of primitives to draw.
- BaseVertexIndex
A DWORD value that specifies the amount that should be added to each index referenced by the various primitives to determine the actual index of the vertex elements in each vertex stream.
Requirements
Header | d3dmddk.h |
Windows Embedded CE | Windows CE 5.0 |
See Also
Reference
Direct3D Mobile Driver Structures
D3DM_OPERATION