namespace Brutal.VulkanApi
{
///
/// VkPastPresentationTimingGOOGLE - Structure containing timing information about a previously-presented image
///
///
///
/// The VkPastPresentationTimingGOOGLE structure is defined as:
///
///
/// // Provided by VK_GOOGLE_display_timing
/// typedef struct VkPastPresentationTimingGOOGLE {
/// uint32_t presentID;
/// uint64_t desiredPresentTime;
/// uint64_t actualPresentTime;
/// uint64_t earliestPresentTime;
/// uint64_t presentMargin;
/// } VkPastPresentationTimingGOOGLE;
///
///
[StructLayout(LayoutKind.Explicit, Size = 40)]
public partial struct VkPastPresentationTimingGOOGLE()
{
///
/// PresentID is an application-provided value that was given to a previous vkQueuePresentKHR command via VkPresentTimeGOOGLE::presentID (see below). It can be used to uniquely identify a previous present with the vkQueuePresentKHR command.
///
[FieldOffset(0)]
public int PresentID;
///
/// DesiredPresentTime is an application-provided value that was given to a previous vkQueuePresentKHR command via VkPresentTimeGOOGLE::desiredPresentTime. If non-zero, it was used by the application to indicate that an image not be presented any sooner than desiredPresentTime.
///
[FieldOffset(8)]
public nint DesiredPresentTime;
///
/// ActualPresentTime is the time when the image of the swapchain was actually displayed.
///
[FieldOffset(16)]
public nint ActualPresentTime;
///
/// EarliestPresentTime is the time when the image of the swapchain could have been displayed. This may: differ from actualPresentTime if the application requested that the image be presented no sooner than VkPresentTimeGOOGLE::desiredPresentTime.
///
[FieldOffset(24)]
public nint EarliestPresentTime;
///
/// PresentMargin is an indication of how early the vkQueuePresentKHR command was processed compared to how soon it needed to be processed, and still be presented at earliestPresentTime.
///
[FieldOffset(32)]
public nint PresentMargin;
}
}