Class VkMemoryRequirements

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


    public class VkMemoryRequirements
    extends Struct
    Khronos Reference Page
    Vulkan Specification

    Contains information about the memory requirements of an object.

    Member documentation

    • size – the size, in bytes, of the memory allocation required for the resource
    • alignment – the alignment, in bytes, of the offset within the allocation required for the resource
    • memoryTypeBits – a bitfield and contains one bit set for every supported memory type for the resource

    Layout

    struct VkMemoryRequirements {
        VkDeviceSize size;
        VkDeviceSize alignment;
        uint32_t memoryTypeBits;
    }