D3DDEVINFO_D3DVERTEXSTATS structure

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

Syntax

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

Members

NumRenderedTriangles

Type: DWORD

Total number of triangles that are not clipped in this frame.

NumExtraClippingTriangles

Type: DWORD

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.

Requirements

Requirement Value
Header
D3D9Types.h

See also

Direct3D Structures