namespace Brutal.VulkanApi { /// /// VkMemoryMapInfo - Structure containing parameters of a memory map operation /// /// /// /// The VkMemoryMapInfo structure is defined as: /// /// /// // Provided by VK_VERSION_1_4 /// typedef struct VkMemoryMapInfo { /// VkStructureType sType; /// const void* pNext; /// VkMemoryMapFlags flags; /// VkDeviceMemory memory; /// VkDeviceSize offset; /// VkDeviceSize size; /// } VkMemoryMapInfo; /// /// [StructLayout(LayoutKind.Explicit, Size = 48)] public unsafe partial struct VkMemoryMapInfo() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.MemoryMapInfo; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Flags is a bitmask of VkMemoryMapFlags specifying additional parameters of the memory map operation. /// [FieldOffset(16)] public VkMemoryMapFlags Flags; /// /// Memory is the VkDeviceMemory object to be mapped. /// [FieldOffset(24)] public VkDeviceMemory Memory; /// /// Offset is a zero-based byte offset from the beginning of the memory object. /// [FieldOffset(32)] public ByteSize64 Offset; /// /// Size is the size of the memory range to map, or VK_WHOLE_SIZE to map from offset to the end of the allocation. /// [FieldOffset(40)] public ByteSize64 Size; } }