D3DSTATS

The D3DSTATS structure contains statistics used by the IDirect3DDevice3::GetStats method.

typedef struct _D3DSTATS { 
    DWORD dwSize; 
    DWORD dwTrianglesDrawn; 
    DWORD dwLinesDrawn; 
    DWORD dwPointsDrawn; 
    DWORD dwSpansDrawn; 
    DWORD dwVerticesProcessed; 
} D3DSTATS, *LPD3DSTATS; 
 

Members

dwSize
Size, in bytes, of this structure. This member must be initialized before the structure is used.
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.

QuickInfo

  Windows NT/2000: Requires Windows NT 4.0 SP3 or later.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in d3dtypes.h.

See Also

IDirect3DDevice3::GetStats