This method sends the minimum required physical memory for an application, to the OS.
HRESULT SetVideoMemoryReservation( UINT NodeIndex, DXGI_MEMORY_SEGMENT_GROUP MemorySegmentGroup, UINT64 Reservation );
Specifies the device's physical adapter for which the video memory information is being set. For single-GPU operation, set this to zero. If there are multiple GPU nodes, set this to the index of the node (the device's physical adapter) for which the video memory information is being set. See Multi-Adapter.
Specifies a DXGI_MEMORY_SEGMENT_GROUP that identifies the group as local or non-local.
Specifies a UINT64 that sets the minimum required physical memory, in bytes.
Returns S_OK if successful; an error code otherwise. For a list of error codes, see DXGI_ERROR.
Applications are encouraged to set a video reservation to denote the amount of physical memory they cannot go without. This value helps the OS quickly minimize the impact of large memory pressure situations.
|Header||dxgi1_4.h (include DXGI1_3.h)|