/// <summary> /// Initializes a new instance of the <see cref="DeviceGroupPresentInfoKhx"/> structure. /// </summary> /// <param name="swapchainCount">Is zero or the number of elements in <see cref="DeviceMasks"/>.</param> /// <param name="deviceMasks">An array of device masks, one for each element of <see cref="PresentInfoKhr.Swapchains"/>.</param> /// <param name="mode">The device group present mode that will be used for this present.</param> /// <param name="next"> /// Is <see cref="IntPtr.Zero"/> or a pointer to an extension-specific structure. /// </param> public DeviceGroupPresentInfoKhx(int swapchainCount, int *deviceMasks, DeviceGroupPresentModesKhx mode, IntPtr next = default(IntPtr)) { Type = StructureType.DeviceGroupPresentInfoKhx; Next = next; SwapchainCount = swapchainCount; DeviceMasks = deviceMasks; Mode = mode; }
/// <summary> /// Initializes a new instance of the <see cref="DeviceGroupSwapchainCreateInfoKhx"/> structure. /// </summary> /// <param name="modes">A bitfield of modes that the swapchain can be used with.</param> /// <param name="next"> /// Is <see cref="IntPtr.Zero"/> or a pointer to an extension-specific structure. /// </param> public DeviceGroupSwapchainCreateInfoKhx(DeviceGroupPresentModesKhx modes, IntPtr next = default(IntPtr)) { Type = StructureType.DeviceGroupSwapchainCreateInfoKhx; Next = next; Modes = modes; }