namespace Brutal.VulkanApi { /// /// VkPresentWait2InfoKHR - Structure describing parameters of a presentation wait /// /// /// /// The VkPresentWait2InfoKHR structure is defined as: /// /// /// // Provided by VK_KHR_present_wait2 /// typedef struct VkPresentWait2InfoKHR { /// VkStructureType sType; /// const void* pNext; /// uint64_t presentId; /// uint64_t timeout; /// } VkPresentWait2InfoKHR; /// /// [StructLayout(LayoutKind.Explicit, Size = 32)] public unsafe partial struct VkPresentWait2InfoKHR() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.PresentWait2InfoKHR; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// PresentId is the presentation presentId to wait for. /// [FieldOffset(16)] public nint PresentId; /// /// Timeout is the timeout period in units of nanoseconds. timeout is adjusted to the closest value allowed by the implementation-dependent timeout accuracy, which may: be substantially longer than one nanosecond, and may: be longer than the requested period. /// [FieldOffset(24)] public nint Timeout; } }