Structures

VkMemoryRequirements2

Structure specifying memory requirements

The VkMemoryRequirements2 structure is defined as:

typedef struct VkMemoryRequirements2 {
    VkStructureType sType;
    void* pNext;
    VkMemoryRequirements memoryRequirements;
} VkMemoryRequirements2;

or the equivalent

typedef VkMemoryRequirements2 VkMemoryRequirements2KHR;
  • sType is a VkStructureType value identifying this structure.
  • pNext is NULL or a pointer to a structure extending this structure.
  • memoryRequirements is a VkMemoryRequirements structure describing the memory requirements of the resource.

Valid Usage (Implicit)

VUID-VkMemoryRequirements2-sType-sType

sType must be VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2

VUID-VkMemoryRequirements2-pNext-pNext

pNext must be NULL or a pointer to a valid instance of VkMemoryDedicatedRequirements

VUID-VkMemoryRequirements2-sType-unique

The sType value of each struct in the pNext chain must be unique