[{"data":1,"prerenderedAt":483},["ShallowReactive",2],{"$fwwCAg95I3R6eRT5IeSv6hHVmnptY7_Ga1l5is48xAWY":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":482,"_id":4},"VkGpaDeviceGetClockInfoAMD","Structure containing returned clock ratios or clock mode to set","VK_AMD_gpa_interface","structs",[],{"type":10,"children":11,"toc":480},"root",[12,28,331,419,474],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,26],{"type":18,"value":19},"text","The ",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":4},{"type":18,"value":27}," structure is defined as:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,153],{"type":13,"tag":33,"props":34,"children":40},"pre",{"className":35,"code":36,"filename":37,"language":38,"meta":39,"style":39},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkGpaDeviceGetClockInfoAMD {\n VkStructureType sType;\n void* pNext;\n float memoryClockRatioToPeak;\n float engineClockRatioToPeak;\n uint32_t memoryClockFrequency;\n uint32_t engineClockFrequency;\n} VkGpaDeviceGetClockInfoAMD;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,90,104,117,131,144],{"type":13,"tag":45,"props":46,"children":49},"span",{"class":47,"line":48},"line",1,[50,56,61],{"type":13,"tag":45,"props":51,"children":53},{"style":52},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[54],{"type":18,"value":55},"typedef",{"type":13,"tag":45,"props":57,"children":58},{"style":52},[59],{"type":18,"value":60}," struct",{"type":13,"tag":45,"props":62,"children":64},{"style":63},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[65],{"type":18,"value":66}," VkGpaDeviceGetClockInfoAMD {\n",{"type":13,"tag":45,"props":68,"children":70},{"class":47,"line":69},2,[71],{"type":13,"tag":45,"props":72,"children":73},{"style":63},[74],{"type":18,"value":75}," VkStructureType sType;\n",{"type":13,"tag":45,"props":77,"children":79},{"class":47,"line":78},3,[80,85],{"type":13,"tag":45,"props":81,"children":82},{"style":52},[83],{"type":18,"value":84}," void*",{"type":13,"tag":45,"props":86,"children":87},{"style":63},[88],{"type":18,"value":89}," pNext;\n",{"type":13,"tag":45,"props":91,"children":93},{"class":47,"line":92},4,[94,99],{"type":13,"tag":45,"props":95,"children":96},{"style":52},[97],{"type":18,"value":98}," float",{"type":13,"tag":45,"props":100,"children":101},{"style":63},[102],{"type":18,"value":103}," memoryClockRatioToPeak;\n",{"type":13,"tag":45,"props":105,"children":107},{"class":47,"line":106},5,[108,112],{"type":13,"tag":45,"props":109,"children":110},{"style":52},[111],{"type":18,"value":98},{"type":13,"tag":45,"props":113,"children":114},{"style":63},[115],{"type":18,"value":116}," engineClockRatioToPeak;\n",{"type":13,"tag":45,"props":118,"children":120},{"class":47,"line":119},6,[121,126],{"type":13,"tag":45,"props":122,"children":123},{"style":52},[124],{"type":18,"value":125}," uint32_t",{"type":13,"tag":45,"props":127,"children":128},{"style":63},[129],{"type":18,"value":130}," memoryClockFrequency;\n",{"type":13,"tag":45,"props":132,"children":134},{"class":47,"line":133},7,[135,139],{"type":13,"tag":45,"props":136,"children":137},{"style":52},[138],{"type":18,"value":125},{"type":13,"tag":45,"props":140,"children":141},{"style":63},[142],{"type":18,"value":143}," engineClockFrequency;\n",{"type":13,"tag":45,"props":145,"children":147},{"class":47,"line":146},8,[148],{"type":13,"tag":45,"props":149,"children":150},{"style":63},[151],{"type":18,"value":152},"} VkGpaDeviceGetClockInfoAMD;\n",{"type":13,"tag":33,"props":154,"children":159},{"className":155,"code":156,"filename":157,"language":158,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct GpaDeviceGetClockInfoAMD {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n memory_clock_ratio_to_peak: f32,\n engine_clock_ratio_to_peak: f32,\n memory_clock_frequency: u32,\n engine_clock_frequency: u32,\n}\n","Rust","rs",[160],{"type":13,"tag":21,"props":161,"children":162},{"__ignoreMap":39},[163,186,219,241,262,282,303,323],{"type":13,"tag":45,"props":164,"children":165},{"class":47,"line":48},[166,171,175,181],{"type":13,"tag":45,"props":167,"children":168},{"style":52},[169],{"type":18,"value":170},"pub",{"type":13,"tag":45,"props":172,"children":173},{"style":52},[174],{"type":18,"value":60},{"type":13,"tag":45,"props":176,"children":178},{"style":177},"--shiki-default:#953800;--shiki-dark:#FFA657",[179],{"type":18,"value":180}," GpaDeviceGetClockInfoAMD",{"type":13,"tag":45,"props":182,"children":183},{"style":63},[184],{"type":18,"value":185}," {\n",{"type":13,"tag":45,"props":187,"children":188},{"class":47,"line":69},[189,194,199,204,209,214],{"type":13,"tag":45,"props":190,"children":191},{"style":63},[192],{"type":18,"value":193}," s_type",{"type":13,"tag":45,"props":195,"children":196},{"style":52},[197],{"type":18,"value":198},":",{"type":13,"tag":45,"props":200,"children":201},{"style":177},[202],{"type":18,"value":203}," vk",{"type":13,"tag":45,"props":205,"children":206},{"style":52},[207],{"type":18,"value":208},"::",{"type":13,"tag":45,"props":210,"children":211},{"style":177},[212],{"type":18,"value":213},"StructureType",{"type":13,"tag":45,"props":215,"children":216},{"style":63},[217],{"type":18,"value":218},",\n",{"type":13,"tag":45,"props":220,"children":221},{"class":47,"line":78},[222,227,231,236],{"type":13,"tag":45,"props":223,"children":224},{"style":63},[225],{"type":18,"value":226}," p_next",{"type":13,"tag":45,"props":228,"children":229},{"style":52},[230],{"type":18,"value":198},{"type":13,"tag":45,"props":232,"children":233},{"style":52},[234],{"type":18,"value":235}," *mut",{"type":13,"tag":45,"props":237,"children":238},{"style":63},[239],{"type":18,"value":240}," c_void,\n",{"type":13,"tag":45,"props":242,"children":243},{"class":47,"line":92},[244,249,253,258],{"type":13,"tag":45,"props":245,"children":246},{"style":63},[247],{"type":18,"value":248}," memory_clock_ratio_to_peak",{"type":13,"tag":45,"props":250,"children":251},{"style":52},[252],{"type":18,"value":198},{"type":13,"tag":45,"props":254,"children":255},{"style":177},[256],{"type":18,"value":257}," f32",{"type":13,"tag":45,"props":259,"children":260},{"style":63},[261],{"type":18,"value":218},{"type":13,"tag":45,"props":263,"children":264},{"class":47,"line":106},[265,270,274,278],{"type":13,"tag":45,"props":266,"children":267},{"style":63},[268],{"type":18,"value":269}," engine_clock_ratio_to_peak",{"type":13,"tag":45,"props":271,"children":272},{"style":52},[273],{"type":18,"value":198},{"type":13,"tag":45,"props":275,"children":276},{"style":177},[277],{"type":18,"value":257},{"type":13,"tag":45,"props":279,"children":280},{"style":63},[281],{"type":18,"value":218},{"type":13,"tag":45,"props":283,"children":284},{"class":47,"line":119},[285,290,294,299],{"type":13,"tag":45,"props":286,"children":287},{"style":63},[288],{"type":18,"value":289}," memory_clock_frequency",{"type":13,"tag":45,"props":291,"children":292},{"style":52},[293],{"type":18,"value":198},{"type":13,"tag":45,"props":295,"children":296},{"style":177},[297],{"type":18,"value":298}," u32",{"type":13,"tag":45,"props":300,"children":301},{"style":63},[302],{"type":18,"value":218},{"type":13,"tag":45,"props":304,"children":305},{"class":47,"line":133},[306,311,315,319],{"type":13,"tag":45,"props":307,"children":308},{"style":63},[309],{"type":18,"value":310}," engine_clock_frequency",{"type":13,"tag":45,"props":312,"children":313},{"style":52},[314],{"type":18,"value":198},{"type":13,"tag":45,"props":316,"children":317},{"style":177},[318],{"type":18,"value":298},{"type":13,"tag":45,"props":320,"children":321},{"style":63},[322],{"type":18,"value":218},{"type":13,"tag":45,"props":324,"children":325},{"class":47,"line":146},[326],{"type":13,"tag":45,"props":327,"children":328},{"style":63},[329],{"type":18,"value":330},"}\n",{"type":13,"tag":332,"props":333,"children":334},"ul",{},[335,356,375,386,397,408],{"type":13,"tag":336,"props":337,"children":338},"li",{},[339,345,347,354],{"type":13,"tag":21,"props":340,"children":342},{"className":341},[],[343],{"type":18,"value":344},"sType",{"type":18,"value":346}," is a ",{"type":13,"tag":348,"props":349,"children":351},"a",{"href":350},"/man/VkStructureType",[352],{"type":18,"value":353},"VkStructureType",{"type":18,"value":355}," value identifying this structure.",{"type":13,"tag":336,"props":357,"children":358},{},[359,365,367,373],{"type":13,"tag":21,"props":360,"children":362},{"className":361},[],[363],{"type":18,"value":364},"pNext",{"type":18,"value":366}," is ",{"type":13,"tag":21,"props":368,"children":370},{"className":369},[],[371],{"type":18,"value":372},"NULL",{"type":18,"value":374}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":336,"props":376,"children":377},{},[378,384],{"type":13,"tag":21,"props":379,"children":381},{"className":380},[],[382],{"type":18,"value":383},"memoryClockRatioToPeak",{"type":18,"value":385}," is the returned ratio of the current memory\nclock to the maximum memory clock.",{"type":13,"tag":336,"props":387,"children":388},{},[389,395],{"type":13,"tag":21,"props":390,"children":392},{"className":391},[],[393],{"type":18,"value":394},"engineClockRatioToPeak",{"type":18,"value":396}," is the returned ratio of the current engine\nclock to the maximum engine clock.",{"type":13,"tag":336,"props":398,"children":399},{},[400,406],{"type":13,"tag":21,"props":401,"children":403},{"className":402},[],[404],{"type":18,"value":405},"memoryClockFrequency",{"type":18,"value":407}," is the current memory clock frequency in MHz.",{"type":13,"tag":336,"props":409,"children":410},{},[411,417],{"type":13,"tag":21,"props":412,"children":414},{"className":413},[],[415],{"type":18,"value":416},"engineClockFrequency",{"type":18,"value":418}," is the current engine clock frequency in MHz.",{"type":13,"tag":420,"props":421,"children":423},"validity-group",{"name":422},"Valid Usage (Implicit)",[424,452],{"type":13,"tag":425,"props":426,"children":428},"validity-field",{"name":427},"VUID-VkGpaDeviceGetClockInfoAMD-sType-sType",[429],{"type":13,"tag":14,"props":430,"children":431},{},[432,437,439,444,446],{"type":13,"tag":21,"props":433,"children":435},{"className":434},[],[436],{"type":18,"value":344},{"type":18,"value":438}," ",{"type":13,"tag":440,"props":441,"children":443},"normative",{"type":442},"must",[],{"type":18,"value":445}," be ",{"type":13,"tag":21,"props":447,"children":449},{"className":448},[],[450],{"type":18,"value":451},"VK_STRUCTURE_TYPE_GPA_DEVICE_GET_CLOCK_INFO_AMD",{"type":13,"tag":425,"props":453,"children":455},{"name":454},"VUID-VkGpaDeviceGetClockInfoAMD-pNext-pNext",[456],{"type":13,"tag":14,"props":457,"children":458},{},[459,464,465,468,469],{"type":13,"tag":21,"props":460,"children":462},{"className":461},[],[463],{"type":18,"value":364},{"type":18,"value":438},{"type":13,"tag":440,"props":466,"children":467},{"type":442},[],{"type":18,"value":445},{"type":13,"tag":21,"props":470,"children":472},{"className":471},[],[473],{"type":18,"value":372},{"type":13,"tag":475,"props":476,"children":477},"style",{},[478],{"type":18,"value":479},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":39,"searchDepth":69,"depth":69,"links":481},[],"markdown",1778234077169]