D3DHAL_CLIPPEDTRIANGLEFAN structure

DirectX 8.0 and later versions only.

One or more D3DHAL_CLIPPEDTRIANGLEFAN structures are parsed from the command buffer by the D3dDrawPrimitives2 callback when the D3DHAL_DP2COMMAND structure's bCommand member is set to D3DDP2OP_CLIPPEDTRIANGLEFAN, and are used to render clipped triangle fans.

Syntax


typedef struct _D3DHAL_CLIPPEDTRIANGLEFAN {
  DWORD FirstVertexOffset;
  DWORD dwEdgeFlags;
  DWORD PrimitiveCount;
} D3DHAL_CLIPPEDTRIANGLEFAN, *LPD3DHAL_CLIPPEDTRIANGLEFAN;

Members

FirstVertexOffset

Specifies the byte offset into stream 0 of the start of the vertex data (not the index of the vertex).

dwEdgeFlags

Specifies a bitmask that identifies what edges are to be drawn when rendering wire frame (to prevent the drawing of edges introduced by clipping). For more information about this bitmask, see the Remarks section of the D3DHAL_DP2TRIANGLEFAN_IMM structure.

PrimitiveCount

Specifies the number of triangles in the given triangle fan.

Requirements

Header

D3dhal.h (include D3dhal.h)

See also

D3DDP2OP_CLIPPEDTRIANGLEFAN
D3dDrawPrimitives2
D3DHAL_DP2COMMAND

 

 

Send comments about this topic to Microsoft

Show: