A pointer to the eviction priority, which determines when a resource can be evicted from memory.
The following defined values are possible.
The resource is unused and can be evicted as soon as another resource requires the memory that the resource occupies.
The eviction priority of the resource is low. The placement of the resource is not critical, and minimal work is performed to find a location for the resource. For example, if a GPU can render with a vertex buffer from either local or non-local memory with little difference in performance, that vertex buffer is low priority. Other more critical resources (for example, a render target or texture) can then occupy the faster memory.
The eviction priority of the resource is normal. The placement of the resource is important, but not critical, for performance. The resource is placed in its preferred location instead of a low-priority resource.
The eviction priority of the resource is high. The resource is placed in its preferred location instead of a low-priority or normal-priority resource.
The resource is evicted from memory only if there is no other way of resolving the memory requirement.