D3DM_DRAWPRIMITIVE (Structure) (Windows CE 5.0)

Send Feedback

This structure contains the contents of the D3DMOP_DRAWPRIMITIVE command token (see D3DM_OPERATION), which instructs the driver to draw primitives using the current driver state and vertices from the current index buffer.

typedef struct _D3DM_DRAWPRIMITIVE {  D3DMPRIMITIVETYPE PrimType;  DWORD StartVertex;  DWORD PrimitiveCount;} D3DM_DRAWPRIMITIVE, * LPD3DM_DRAWPRIMITIVE;

Members

  • PrimType
    A D3DMPRIMITIVETYPE value that specifies the type of primitive to draw.
  • StartVertex
    A DWORD value that specifies the first vertex in the vertex buffer for the first primitive that the driver should draw.
  • PrimitiveCount
    A DWORD value that specifies the number of primitive the driver should draw.

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.