D3DRESOURCESTATS

Resource statistics gathered by the D3DDEVINFO_ResourceManager when using the asynchronous query mechanism.

typedef struct D3DRESOURCESTATS {
    BOOL bThrashing;
    DWORD ApproxBytesDownloaded;
    DWORD NumEvicts;
    DWORD NumVidCreates;
    DWORD LastPri;
    DWORD NumUsed;
    DWORD NumUsedInVidMem;
    DWORD WorkingSet;
    DWORD WorkingSetBytes;
    DWORD TotalManaged;
    DWORD TotalBytes;
} D3DRESOURCESTATS, *LPD3DRESOURCESTATS;

Members

bThrashing
Indicates if thrashing is occurring.
ApproxBytesDownloaded
Approximate number of bytes downloaded by the resource manager.
NumEvicts
Number of objects evicted.
NumVidCreates
Number of objects created in video memory.
LastPri
Priority of last object evicted.
NumUsed
Number of objects set to the device.
NumUsedInVidMem
Number of objects set to the device, which are already in video memory.
WorkingSet
Number of objects in video memory.
WorkingSetBytes
Number of bytes in video memory.
TotalManaged
Total number of managed objects.
TotalBytes
Total number of bytes of managed objects.

See Also

Asynchronous Notification