namespace Brutal.VulkanApi { /// /// VkGpaDeviceClockModeInfoAMD - Structure containing returned clock ratios or clock mode to set /// /// /// /// :refpage: VkGpaDeviceClockModeInfoAMD /// /// /// The VkGpaDeviceClockModeInfoAMD structure is defined as: /// /// /// // Provided by VK_AMD_gpa_interface /// typedef struct VkGpaDeviceClockModeInfoAMD { /// VkStructureType sType; /// const void* pNext; /// VkGpaDeviceClockModeAMD clockMode; /// float memoryClockRatioToPeak; /// float engineClockRatioToPeak; /// } VkGpaDeviceClockModeInfoAMD; /// /// [StructLayout(LayoutKind.Explicit, Size = 32)] public unsafe partial struct VkGpaDeviceClockModeInfoAMD() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.GpaDeviceClockModeInfoAMD; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// ClockMode is a enum:VkGpaDeviceClockModeAMD value specify which clock mode to set, or whether to query the current clocks. /// [FieldOffset(16)] public VkGpaDeviceClockModeAMD ClockMode; /// /// MemoryClockRatioToPeak is the returned ratio of the current memory clock to the maximum memory clock, if clockMode is VK_GPA_DEVICE_CLOCK_MODE_QUERY_AMD. /// [FieldOffset(20)] public float MemoryClockRatioToPeak; /// /// EngineClockRatioToPeak is the returned ratio of the current engine clock to the maximum engine clock, if clockMode is VK_GPA_DEVICE_CLOCK_MODE_QUERY_AMD. /// [FieldOffset(24)] public float EngineClockRatioToPeak; } }