DXGI_QUERY_VIDEO_MEMORY_INFO structure (dxgi1_4.h)

Describes the current video memory budgeting parameters.

Syntax

typedef struct DXGI_QUERY_VIDEO_MEMORY_INFO {
  UINT64 Budget;
  UINT64 CurrentUsage;
  UINT64 AvailableForReservation;
  UINT64 CurrentReservation;
} DXGI_QUERY_VIDEO_MEMORY_INFO;

Members

Budget

Specifies the OS-provided video memory budget, in bytes, that the application should target. If CurrentUsage is greater than Budget, the application may incur stuttering or performance penalties due to background activity by the OS to provide other applications with a fair usage of video memory.

CurrentUsage

Specifies the application’s current video memory usage, in bytes.

AvailableForReservation

The amount of video memory, in bytes, that the application has available for reservation. To reserve this video memory, the application should call IDXGIAdapter3::SetVideoMemoryReservation.

CurrentReservation

The amount of video memory, in bytes, that is reserved by the application. The OS uses the reservation as a hint to determine the application’s minimum working set. Applications should attempt to ensure that their video memory usage can be trimmed to meet this requirement.

Remarks

Use this structure with QueryVideoMemoryInfo.

Refer to the remarks for D3D12_MEMORY_POOL.

Requirements

Requirement Value
Header dxgi1_4.h (include DXGI1_3.h)

See also

DXGI Structures