namespace Brutal.VulkanApi { /// /// VkPresentTimesInfoGOOGLE - The earliest time each image should be presented /// /// /// /// When the `VK_GOOGLE_display_timing` extension is enabled, additional /// fields can be specified that allow an application to specify the earliest /// time that an image should be displayed. /// This allows an application to avoid stutter that is caused by an image being /// displayed earlier than planned. /// Such stuttering can occur with both fixed and variable-refresh-rate /// displays, because stuttering occurs when the geometry is not correctly /// positioned for when the image is displayed. /// An application can instruct the presentation engine that an image should /// not be displayed earlier than a specified time by adding a /// VkPresentTimesInfoGOOGLE structure to the pNext chain of the /// VkPresentInfoKHR structure. /// /// /// The VkPresentTimesInfoGOOGLE structure is defined as: /// /// /// // Provided by VK_GOOGLE_display_timing /// typedef struct VkPresentTimesInfoGOOGLE { /// VkStructureType sType; /// const void* pNext; /// uint32_t swapchainCount; /// const VkPresentTimeGOOGLE* pTimes; /// } VkPresentTimesInfoGOOGLE; /// /// [StructLayout(LayoutKind.Explicit, Size = 32)] public unsafe partial struct VkPresentTimesInfoGOOGLE() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.PresentTimesInfoGOOGLE; /// /// 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; /// /// Times is `NULL` or a pointer to an array of VkPresentTimeGOOGLE elements with swapchainCount entries. If not `NULL`, each element of pTimes contains the earliest time to present the image corresponding to the entry in the VkPresentInfoKHR::pImageIndices array. /// [FieldOffset(24)] public VkPresentTimeGOOGLE* Times; } }