D3DSTATS

The D3DSTATS structure contains statistics used by the IDirect3DDevice2::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: Use version 4.0 or later.
  Windows: Use Windows 95 or later. Available as a redistributable for Windows 95.
  Windows CE: Unsupported.
  Header: Declared in d3dtypes.h.

See Also

IDirect3DDevice2::GetStats