Share via


D3DHAL_DP2STARTVERTEX

This structure follows certain D3DHAL_DP2COMMAND structures in the command buffer, and indicates the offset in the vertex buffer for the first vertex to use in D3dDrawPrimitives2.

typedef struct _D3DHAL_DP2STARTVERTEX {
  WORD wVStart;
} D3DHAL_DP2STARTVERTEX, *LPD3DHAL_DP2STARTVERTEX;

Members

  • wVStart
    Specifies an additional offset to be added to any index used for determining the location of vertices in the vertex buffer (in the case of indexed primitives).

Remarks

A D3DHAL_DP2STARTVERTEX structure follows a D3DHAL_DP2COMMAND structure in the command buffer when the bCommand member of D3DHAL_DP2COMMAND is one of the following values:

The first vertex of such primitives is located (wVStart + dwVertexOffset) bytes from the beginning of the vertex buffer, where dwVertexOffset is a member of D3DHAL_DRAWPRIMITIVES2DATA.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: D3dhal.h.

See Also

D3DHAL_DP2COMMAND | D3dDrawPrimitives2 | D3DDP2OP_INDEXEDLINELIST2 | D3DDP2OP_INDEXEDLINESTRIP | D3DDP2OP_INDEXEDTRIANGLELIST2 | D3DDP2OP_INDEXEDTRIANGLESTRIP | D3DDP2OP_INDEXEDTRIANGLEFAN | D3DHAL_DRAWPRIMITIVES2DATA | D3DHAL_XXX Structures

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.