D3DMEMORYPRESSURE structure (D3d9types.h)

Contains data for memory pressure reporting.

Syntax

typedef struct _D3DMEMORYPRESSURE {
  UINT64 BytesEvictedFromProcess;
  UINT64 SizeOfInefficientAllocation;
  DWORD  LevelOfEfficiency;
} D3DMEMORYPRESSURE;

Members

BytesEvictedFromProcess

Type: UINT64

The number of bytes that were evicted by the process during the duration of the query.

SizeOfInefficientAllocation

Type: UINT64

The total number of bytes placed in nonoptimal memory segments, due to inadequate space within the preferred memory segments.

LevelOfEfficiency

Type: DWORD

The overall efficiency of the memory allocations that were placed in nonoptimal memory. The value is expressed as a percentage. For example, the value 95 indicates that the allocations placed in nonpreferred memory segments are 95% efficient. This number should not be considered an exact measurement.

Requirements

Requirement Value
Header
D3d9types.h

See also

Direct3D Structures