D3DDEVINFO_D3DVERTEXSTATS

Reports the number of triangles that have been processed and clipped by the runtime's software vertex processing.

typedef struct D3DDEVINFO_D3DVERTEXSTATS {
    DWORD NumRenderedTriangles;
    DWORD NumRenderedTriangles;
    DWORD NumExtraClippingTriangles;
} D3DDEVINFO_D3DVERTEXSTATS, *LPD3DDEVINFO_D3DVERTEXSTATS;

Members

NumRenderedTriangles
Total number of triangles that are not clipped in this frame.
NumRenderedTriangles
Total number of triangles that are not clipped in this frame.
NumExtraClippingTriangles
Number of new triangles generated by clipping.

Remarks

Use the debug runtime and software vertex processing to get the number of non-clipped and clipped primitives for a particular scene. Primitives will typically be clipped based on a guard band (if one is present). The clipping guard band is set with parameters such as GuardBandLeft in D3DCAPS9.