namespace Brutal.VulkanApi { /// /// VkDeviceGroupPresentInfoKHR - Mode and mask controlling which physical devices' images are presented /// /// /// /// If the pNext chain of VkPresentInfoKHR includes a /// VkDeviceGroupPresentInfoKHR structure, then that structure includes an /// array of device masks and a device group present mode. /// /// /// The VkDeviceGroupPresentInfoKHR structure is defined as: /// /// /// // Provided by VK_VERSION_1_1 with VK_KHR_swapchain, VK_KHR_device_group with VK_KHR_swapchain /// typedef struct VkDeviceGroupPresentInfoKHR { /// VkStructureType sType; /// const void* pNext; /// uint32_t swapchainCount; /// const uint32_t* pDeviceMasks; /// VkDeviceGroupPresentModeFlagBitsKHR mode; /// } VkDeviceGroupPresentInfoKHR; /// /// [StructLayout(LayoutKind.Explicit, Size = 40)] public unsafe partial struct VkDeviceGroupPresentInfoKHR() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.DeviceGroupPresentInfoKHR; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// SwapchainCount is zero or the number of elements in pDeviceMasks. /// [FieldOffset(16)] public int SwapchainCount; /// /// DeviceMasks is a pointer to an array of device masks, one for each element of VkPresentInfoKHR::pSwapchains. /// [FieldOffset(24)] public int* DeviceMasks; /// /// Mode is a VkDeviceGroupPresentModeFlagsKHR value specifying the device group present mode that will be used for this present. /// [FieldOffset(32)] public VkDeviceGroupPresentModeFlagsKHR Mode; } }