namespace Brutal.VulkanApi { /// /// VkPastPresentationTimingEXT - Structure containing timing information about a previously-presented image /// /// /// /// The VkPastPresentationTimingEXT structure is defined as: /// /// /// // Provided by VK_EXT_present_timing /// typedef struct VkPastPresentationTimingEXT { /// VkStructureType sType; /// void* pNext; /// uint64_t presentId; /// uint64_t targetTime; /// uint32_t presentStageCount; /// VkPresentStageTimeEXT* pPresentStages; /// VkTimeDomainKHR timeDomain; /// uint64_t timeDomainId; /// VkBool32 reportComplete; /// } VkPastPresentationTimingEXT; /// /// [StructLayout(LayoutKind.Explicit, Size = 72)] public unsafe partial struct VkPastPresentationTimingEXT() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.PastPresentationTimingEXT; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// PresentId is zero or a value that was given to a previous vkQueuePresentKHR command via VkPresentId2KHR::pPresentIds. /// [FieldOffset(16)] public nint PresentId; /// /// TargetTime is the application-provided target absolute time or duration of the associated presentation request in VkPresentTimingInfoEXT::targetTime. /// [FieldOffset(24)] public nint TargetTime; /// /// PresentStageCount is a count of items contained in pPresentStages. /// [FieldOffset(32)] public int PresentStageCount; /// /// PresentStages a pointer to an array of VkPresentStageTimeEXT providing timing information for the presentation request associated with presentId. /// [FieldOffset(40)] public VkPresentStageTimeEXT* PresentStages; /// /// TimeDomain is the time domain used by the presentation engine to report times in pPresentStages. /// [FieldOffset(48)] public VkTimeDomainKHR TimeDomain; /// /// TimeDomainId is the id associated with timeDomain. /// [FieldOffset(56)] public nint TimeDomainId; /// /// ReportComplete is VK_TRUE if the presentation engine has reported all the requested results in pPresentStages. /// [FieldOffset(64)] public Brutal.Bool32 ReportComplete; } }