Export (0) Print
Expand All

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, *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

Header

D3D9Types.h

See also

Asynchronous Notification (Direct3D 9)

 

 

Community Additions

ADD
Show:
© 2014 Microsoft