IDXGIResource::GetEvictionPriority method (dxgi.h)
Get the eviction priority.
Syntax
HRESULT GetEvictionPriority(
[out] UINT *pEvictionPriority
);
Parameters
[out] pEvictionPriority
Type: UINT*
A pointer to the eviction priority, which determines when a resource can be evicted from memory.
The following defined values are possible.
Return value
Type: HRESULT
Returns one of the following DXGI_ERROR.
Remarks
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.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | dxgi.h |
Library | DXGI.lib |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for