Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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, *LPD3DRESOURCESTATS;
Members
-
bThrashing
-
Type: BOOL
-
Indicates if thrashing is occurring.
-
ApproxBytesDownloaded
-
Type: DWORD
-
Approximate number of bytes downloaded by the resource manager.
-
NumEvicts
-
Type: DWORD
-
Number of objects evicted.
-
NumVidCreates
-
Type: DWORD
-
Number of objects created in video memory.
-
LastPri
-
Type: DWORD
-
Priority of last object evicted.
-
NumUsed
-
Type: DWORD
-
Number of objects set to the device.
-
NumUsedInVidMem
-
Type: DWORD
-
Number of objects set to the device, which are already in video memory.
-
WorkingSet
-
Type: DWORD
-
Number of objects in video memory.
-
WorkingSetBytes
-
Type: DWORD
-
Number of bytes in video memory.
-
TotalManaged
-
Type: DWORD
-
Total number of managed objects.
-
TotalBytes
-
Type: DWORD
-
Total number of bytes of managed objects.
Requirements
Requirement | Value |
---|---|
Header |
|
See also