namespace Brutal.VulkanApi { /// /// VkLatencySleepModeInfoNV - Structure to set low latency mode /// /// /// /// The VkLatencySleepModeInfoNV structure is defined as: /// /// /// // Provided by VK_NV_low_latency2 /// typedef struct VkLatencySleepModeInfoNV { /// VkStructureType sType; /// const void* pNext; /// VkBool32 lowLatencyMode; /// VkBool32 lowLatencyBoost; /// uint32_t minimumIntervalUs; /// } VkLatencySleepModeInfoNV; /// /// [StructLayout(LayoutKind.Explicit, Size = 32)] public unsafe partial struct VkLatencySleepModeInfoNV() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.LatencySleepModeInfoNV; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// LowLatencyMode is the toggle to enable or disable low latency mode. /// [FieldOffset(16)] public Brutal.Bool32 LowLatencyMode; /// /// LowLatencyBoost allows an application to hint to the GPU to increase performance to provide additional latency savings at a cost of increased power consumption. /// [FieldOffset(20)] public Brutal.Bool32 LowLatencyBoost; /// /// MinimumIntervalUs is the microseconds between vkQueuePresentKHR calls for a given swapchain that vkLatencySleepNV will enforce. /// [FieldOffset(24)] public int MinimumIntervalUs; } }