namespace Brutal.VulkanApi { /// /// VkAntiLagDataAMD - Structure specifying the parameters for vkAntiLagUpdateAMD /// /// /// /// The VkAntiLagDataAMD structure is defined as: /// /// /// // Provided by VK_AMD_anti_lag /// typedef struct VkAntiLagDataAMD { /// VkStructureType sType; /// const void* pNext; /// VkAntiLagModeAMD mode; /// uint32_t maxFPS; /// const VkAntiLagPresentationInfoAMD* pPresentationInfo; /// } VkAntiLagDataAMD; /// /// [StructLayout(LayoutKind.Explicit, Size = 32)] public unsafe partial struct VkAntiLagDataAMD() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.AntiLagDataAMD; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Mode is a VkAntiLagModeAMD value specifying the anti-lag status. /// [FieldOffset(16)] public VkAntiLagModeAMD Mode; /// /// MaxFPS is the framerate limit, in frames per second, used by the application. This limit will be imposed if anti-lag is enabled. If the application tries to render faster, the framerate will be reduced to match this limit. A value of 0 will disable the limit. /// [FieldOffset(20)] public int MaxFPS; /// /// PresentationInfo is a pointer to a VkAntiLagPresentationInfoAMD structure containing information about the application stage. /// [FieldOffset(24)] public VkAntiLagPresentationInfoAMD* PresentationInfo; } }