namespace Brutal.VulkanApi { /// /// VkMemoryAllocateFlagsInfo - Structure controlling how many instances of memory will be allocated /// /// /// /// If the pNext chain of VkMemoryAllocateInfo includes a /// VkMemoryAllocateFlagsInfo structure, then that structure includes /// flags and a device mask controlling how many instances of the memory will be /// allocated. /// /// /// The VkMemoryAllocateFlagsInfo structure is defined as: /// /// /// // Provided by VK_VERSION_1_1 /// typedef struct VkMemoryAllocateFlagsInfo { /// VkStructureType sType; /// const void* pNext; /// VkMemoryAllocateFlags flags; /// uint32_t deviceMask; /// } VkMemoryAllocateFlagsInfo; /// /// [StructLayout(LayoutKind.Explicit, Size = 24)] public unsafe partial struct VkMemoryAllocateFlagsInfo() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.MemoryAllocateFlagsInfo; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Flags is a bitmask of VkMemoryAllocateFlags controlling the allocation. /// [FieldOffset(16)] public VkMemoryAllocateFlags Flags; /// /// DeviceMask is a mask of physical devices in the logical device, indicating that memory must be allocated on each device in the mask, if VK_MEMORY_ALLOCATE_DEVICE_MASK_BIT is set in flags. /// [FieldOffset(20)] public int DeviceMask; } }