namespace Brutal.VulkanApi { /// /// VkSetPresentConfigNV - Structure specifying present metering configuration /// /// /// /// Present Metering evenly paces out the next numFramesPerBatch /// vkQueuePresentKHR presents. /// This gives smoother pacing between presents in applications with frame /// generation integrations. /// /// /// The VkSetPresentConfigNV structure is defined as: /// /// /// // Provided by VK_NV_present_metering /// typedef struct VkSetPresentConfigNV { /// VkStructureType sType; /// const void* pNext; /// uint32_t numFramesPerBatch; /// uint32_t presentConfigFeedback; /// } VkSetPresentConfigNV; /// /// [StructLayout(LayoutKind.Explicit, Size = 24)] public unsafe partial struct VkSetPresentConfigNV() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.SetPresentConfigNV; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// NumFramesPerBatch is the number of frames to batch /// [FieldOffset(16)] public int NumFramesPerBatch; /// /// PresentConfigFeedback will return the success or error status /// [FieldOffset(20)] public int PresentConfigFeedback; } }