// d3dhal.h
typedef struct _D3DHAL_CLIPPEDTRIANGLEFAN {
DWORD FirstVertexOffset;
DWORD dwEdgeFlags;
DWORD PrimitiveCount;
} D3DHAL_CLIPPEDTRIANGLEFAN;
View the official Windows Driver Kit DDI referenceNo description available.
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.
FirstVertexOffsetSpecifies the byte offset into stream 0 of the start of the vertex data (not the index of the vertex).
dwEdgeFlagsSpecifies 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.
PrimitiveCountSpecifies the number of triangles in the given triangle fan.
D3DDP2OP_CLIPPEDTRIANGLEFAN