namespace Brutal.VulkanApi { /// /// VkAntiLagPresentationInfoAMD - Structure specifying information about stage /// /// /// /// The VkAntiLagPresentationInfoAMD structure is defined as: /// /// /// // Provided by VK_AMD_anti_lag /// typedef struct VkAntiLagPresentationInfoAMD { /// VkStructureType sType; /// void* pNext; /// VkAntiLagStageAMD stage; /// uint64_t frameIndex; /// } VkAntiLagPresentationInfoAMD; /// /// [StructLayout(LayoutKind.Explicit, Size = 32)] public unsafe partial struct VkAntiLagPresentationInfoAMD() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.AntiLagPresentationInfoAMD; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Stage is a VkAntiLagStageAMD value specifying the current application stage. /// [FieldOffset(16)] public VkAntiLagStageAMD Stage; /// /// FrameIndex is set just before the application processes input data (VK_ANTI_LAG_STAGE_INPUT_AMD). The same frameIndex value should be set before the frame with current input data will be presented by vkQueuePresentKHR (VK_ANTI_LAG_STAGE_PRESENT_AMD). This should be done for each frame. /// [FieldOffset(24)] public nint FrameIndex; } }