D3DSTATS

typedef struct _D3DSTATS {

DWORD dwSize;

DWORD dwTrianglesDrawn;

DWORD dwLinesDrawn;

DWORD dwPointsDrawn;

DWORD dwSpansDrawn;

DWORD dwVerticesProcessed;

} D3DSTATS, *LPD3DSTATS;

Contains statistics used by the IDirect3DDevice::GetStats method.

dwSize

Size, in bytes, of this structure.

dwTrianglesDrawn, dwLinesDrawn, dwPointsDrawn, and dwSpansDrawn

Number of triangles, lines, points, and spans drawn since the device was created.

dwVerticesProcessed

Number of vertices processed since the device was created.