DXGI_OFFER_RESOURCE_PRIORITY enumeration
Identifies the importance of a resource’s content when you call the IDXGIDevice2::OfferResources method to offer the resource.
Syntax
typedef enum _DXGI_OFFER_RESOURCE_PRIORITY {
DXGI_OFFER_RESOURCE_PRIORITY_LOW = 1,
DXGI_OFFER_RESOURCE_PRIORITY_NORMAL = ( DXGI_OFFER_RESOURCE_PRIORITY_LOW + 1 ),
DXGI_OFFER_RESOURCE_PRIORITY_HIGH = ( DXGI_OFFER_RESOURCE_PRIORITY_NORMAL + 1 )
} DXGI_OFFER_RESOURCE_PRIORITY;
Constants
DXGI_OFFER_RESOURCE_PRIORITY_LOW
The resource is low priority. The operating system discards a low priority resource before other offered resources with higher priority. It is a good programming practice to mark a resource as low priority if it has no useful content.DXGI_OFFER_RESOURCE_PRIORITY_NORMAL
The resource is normal priority. You mark a resource as normal priority if it has content that is easy to regenerate.DXGI_OFFER_RESOURCE_PRIORITY_HIGH
The resource is high priority. The operating system discards other offered resources with lower priority before it discards a high priority resource. You mark a resource as high priority if it has useful content that is difficult to regenerate.
Remarks
Priority determines how likely the operating system is to discard an offered resource. Resources offered with lower priority are discarded first.
Requirements
Minimum supported client |
Windows 8 and Platform Update for Windows 7 [desktop apps | Windows Store apps] |
Minimum supported server |
Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | Windows Store apps] |
Header |
DXGI1_2.h |