namespace Brutal.VulkanApi { /// /// VkGpaDeviceGetClockInfoAMD - Structure containing returned clock ratios or clock mode to set /// /// /// /// :refpage: VkGpaDeviceGetClockInfoAMD /// /// /// The VkGpaDeviceGetClockInfoAMD structure is defined as: /// /// /// // Provided by VK_AMD_gpa_interface /// typedef struct VkGpaDeviceGetClockInfoAMD { /// VkStructureType sType; /// void* pNext; /// float memoryClockRatioToPeak; /// float engineClockRatioToPeak; /// uint32_t memoryClockFrequency; /// uint32_t engineClockFrequency; /// } VkGpaDeviceGetClockInfoAMD; /// /// [StructLayout(LayoutKind.Explicit, Size = 32)] public unsafe partial struct VkGpaDeviceGetClockInfoAMD() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.GpaDeviceGetClockInfoAMD; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// MemoryClockRatioToPeak is the returned ratio of the current memory clock to the maximum memory clock. /// [FieldOffset(16)] public float MemoryClockRatioToPeak; /// /// EngineClockRatioToPeak is the returned ratio of the current engine clock to the maximum engine clock. /// [FieldOffset(20)] public float EngineClockRatioToPeak; /// /// MemoryClockFrequency is the current memory clock frequency in MHz. /// [FieldOffset(24)] public int MemoryClockFrequency; /// /// EngineClockFrequency is the current engine clock frequency in MHz. /// [FieldOffset(28)] public int EngineClockFrequency; } }