public:
HRESULT GetEvictionPriority(
UINT *pEvictionPriority
)
pEvictionPriority
Type: UINTÂ *
[out]
A pointer to the eviction priority, which determines when a resource can be evicted from memory.
The following defined values are possible.
Type: HRESULTÂ
Returns one of the following DXGI_ERROR.
The eviction priority is a memory-management variable that is used by DXGI to determine how to manage overcommitted memory.
Priority levels other than the defined values are used when appropriate. For example, a resource with a priority level of 0x78000001 indicates that the resource is slightly above normal.
Header: Declared in d3d11_x.h (dxgi.h on other Windows platforms).
Library: Use d3d11_x.lib (dxgi.lib on other Windows platforms).