D3DRESOURCESTATS
Microsoft DirectX 9.0 SDK Update (October 2004)

D3DRESOURCESTATS Structure


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

Syntax

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;

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.

Structure Information

Headerd3d9types.h
Minimum operating systems Windows 98

See Also

Asynchronous Notification


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.