Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DXGI_RECLAIM_RESOURCE_RESULTS enumeration

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

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

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

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

Header

Dxgi1_5.h

See also

DXGI Enumerations

 

 

Show:
© 2017 Microsoft