D3DM_DRAWPRIMITIVE (Structure) (Windows Embedded CE 6.0)
1/6/2010
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.
Syntax
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
Header | d3dmddk.h |
Windows Embedded CE | Windows CE 5.0 |
See Also
Reference
Direct3D Mobile Driver Structures
D3DM_OPERATION