Class VkMemoryPriorityAllocateInfoEXT

  • All Implemented Interfaces:
    java.lang.AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

    public class VkMemoryPriorityAllocateInfoEXT
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    Specify a memory allocation priority.
    Description

    Memory allocations with higher priority may be more likely to stay in device-local memory when the system is under memory pressure.

    If this structure is not included, it is as if the priority value were 0.5.

    Valid Usage
    • priority must be between 0 and 1, inclusive
    Valid Usage (Implicit)

    Layout

    
     struct VkMemoryPriorityAllocateInfoEXT {
         VkStructureType sType();
         void const * pNext();
         float priority();
     }