Bewerken

Delen via


D3DHAL_CLIPPEDTRIANGLEFAN structure (d3dhal.h)

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;

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

Requirement Value
Header d3dhal.h (include D3dhal.h)

See also

D3DDP2OP_CLIPPEDTRIANGLEFAN

D3DHAL_DP2COMMAND

D3dDrawPrimitives2