namespace Brutal.VulkanApi { /// /// VkSwapchainCalibratedTimestampInfoEXT - Structure specifying the swapchain to calibrate a swapchain-local timestamp query /// /// /// /// The VkSwapchainCalibratedTimestampInfoEXT structure is defined as: /// /// /// // Provided by VK_EXT_present_timing /// typedef struct VkSwapchainCalibratedTimestampInfoEXT { /// VkStructureType sType; /// const void* pNext; /// VkSwapchainKHR swapchain; /// VkPresentStageFlagsEXT presentStage; /// uint64_t timeDomainId; /// } VkSwapchainCalibratedTimestampInfoEXT; /// /// [StructLayout(LayoutKind.Explicit, Size = 40)] public unsafe partial struct VkSwapchainCalibratedTimestampInfoEXT() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.SwapchainCalibratedTimestampInfoEXT; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Swapchain is the swapchain to retrieve the swapchain-local timestamp from. /// [FieldOffset(16)] public VkSwapchainKHR Swapchain; /// /// PresentStage is zero or a VkPresentStageFlagsEXT value used to identify a single present stage when calibrating a timestamp in the VK_TIME_DOMAIN_PRESENT_STAGE_LOCAL_EXT time domain. /// [FieldOffset(24)] public VkPresentStageFlagsEXT PresentStage; /// /// TimeDomainId is the id for the opaque time domain being calibrated. /// [FieldOffset(32)] public nint TimeDomainId; } }