namespace Brutal.VulkanApi { /// /// VkPresentTimingsInfoEXT - Array of VkPresentTimingInfoEXT to chain with VkPresentInfoKHR /// /// /// /// When the presentAtAbsoluteTime^ or /// presentAtRelativeTime^ feature is /// enabled, an application can instruct the presentation engine to attempt to /// display an image at a specified time, or for a minimum duration, by /// including the VkPresentTimingsInfoEXT structure in the pNext /// chain of the VkPresentInfoKHR structure. /// /// /// The VkPresentTimingsInfoEXT structure is defined as: /// /// /// // Provided by VK_EXT_present_timing /// typedef struct VkPresentTimingsInfoEXT { /// VkStructureType sType; /// const void* pNext; /// uint32_t swapchainCount; /// const VkPresentTimingInfoEXT* pTimingInfos; /// } VkPresentTimingsInfoEXT; /// /// [StructLayout(LayoutKind.Explicit, Size = 32)] public unsafe partial struct VkPresentTimingsInfoEXT() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.PresentTimingsInfoEXT; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// SwapchainCount is the number of swapchains being presented to by this command. /// [FieldOffset(16)] public int SwapchainCount; /// /// TimingInfos is `NULL` or a pointer to an array of VkPresentTimingInfoEXT elements with swapchainCount entries. If not `NULL`, each element of pTimingInfos contains timing information for the presentation of the image corresponding to the entry in the VkPresentInfoKHR::pImageIndices array. /// [FieldOffset(24)] public VkPresentTimingInfoEXT* TimingInfos; } }