DXGI_RECLAIM_RESOURCE_RESULTS enumeration (dxgi1_5.h)

Specifies result flags for the ReclaimResources1 method.

Syntax

typedef enum _DXGI_RECLAIM_RESOURCE_RESULTS {
  DXGI_RECLAIM_RESOURCE_RESULT_OK = 0,
  DXGI_RECLAIM_RESOURCE_RESULT_DISCARDED = 1,
  DXGI_RECLAIM_RESOURCE_RESULT_NOT_COMMITTED = 2
} DXGI_RECLAIM_RESOURCE_RESULTS;

Constants

 
DXGI_RECLAIM_RESOURCE_RESULT_OK
Value: 0
The surface was successfully reclaimed and has valid content. This result is identical to the false value returned by the older ReclaimResources API.
DXGI_RECLAIM_RESOURCE_RESULT_DISCARDED
Value: 1
The surface was reclaimed, but the old content was lost and must be regenerated. This result is identical to the true value returned by the older ReclaimResources API.
DXGI_RECLAIM_RESOURCE_RESULT_NOT_COMMITTED
Value: 2
Both the surface and its contents are lost and invalid. The surface must be
recreated and the content regenerated in order to be used. All future use of that resource is invalid. Attempts to bind it to the pipeline or map a resource which returns this value will never succeed, and the resource cannot be reclaimed again.

Requirements

Requirement Value
Header dxgi1_5.h

See also

DXGI Enumerations