Compartilhar via


D3DM_DRAWINDEXEDPRIMITIVE (Windows CE 5.0)

Send Feedback

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.

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

OS Versions: Windows CE 5.0
Header: D3dmddk.h.

See Also

Direct3D Mobile Driver Structures | D3DM_OPERATION | D3DMPRIMITIVETYPE

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.