D3D12_RESIDENCY_FLAGS enumeration (d3d12.h)

Used with the EnqueuMakeResident function to choose how residency operations proceed when the memory budget is exceeded.

Syntax

typedef enum D3D12_RESIDENCY_FLAGS {
  D3D12_RESIDENCY_FLAG_NONE = 0,
  D3D12_RESIDENCY_FLAG_DENY_OVERBUDGET = 0x1
} ;

Constants

 
D3D12_RESIDENCY_FLAG_NONE
Value: 0
Specifies the default residency policy, which allows residency operations to succeed regardless of the application's current memory budget. EnqueueMakeResident returns E_OUTOFMEMORY only when there is no memory available.
D3D12_RESIDENCY_FLAG_DENY_OVERBUDGET
Value: 0x1
Specifies that the EnqueueMakeResident function should return E_OUTOFMEMORY when the residency operation would exceed the application's current memory budget.

Requirements

Requirement Value
Header d3d12.h

See also

Core Enumerations