[{"data":1,"prerenderedAt":552},["ShallowReactive",2],{"9iiSmlnFLV":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":551,"_id":4},"VkPerformanceCounterKHR","Structure providing information about a counter","VK_KHR_performance_query","structs",[],{"type":10,"children":11,"toc":549},"root",[12,28,371,488,543],{"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,146],{"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 VkPerformanceCounterKHR {\n VkStructureType sType;\n void* pNext;\n VkPerformanceCounterUnitKHR unit;\n VkPerformanceCounterScopeKHR scope;\n VkPerformanceCounterStorageKHR storage;\n uint8_t uuid[VK_UUID_SIZE];\n} VkPerformanceCounterKHR;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,90,99,108,117,137],{"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}," VkPerformanceCounterKHR {\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],{"type":13,"tag":45,"props":95,"children":96},{"style":63},[97],{"type":18,"value":98}," VkPerformanceCounterUnitKHR unit;\n",{"type":13,"tag":45,"props":100,"children":102},{"class":47,"line":101},5,[103],{"type":13,"tag":45,"props":104,"children":105},{"style":63},[106],{"type":18,"value":107}," VkPerformanceCounterScopeKHR scope;\n",{"type":13,"tag":45,"props":109,"children":111},{"class":47,"line":110},6,[112],{"type":13,"tag":45,"props":113,"children":114},{"style":63},[115],{"type":18,"value":116}," VkPerformanceCounterStorageKHR storage;\n",{"type":13,"tag":45,"props":118,"children":120},{"class":47,"line":119},7,[121,126,132],{"type":13,"tag":45,"props":122,"children":123},{"style":52},[124],{"type":18,"value":125}," uint8_t",{"type":13,"tag":45,"props":127,"children":129},{"style":128},"--shiki-default:#953800;--shiki-dark:#FFA657",[130],{"type":18,"value":131}," uuid",{"type":13,"tag":45,"props":133,"children":134},{"style":63},[135],{"type":18,"value":136},"[VK_UUID_SIZE];\n",{"type":13,"tag":45,"props":138,"children":140},{"class":47,"line":139},8,[141],{"type":13,"tag":45,"props":142,"children":143},{"style":63},[144],{"type":18,"value":145},"} VkPerformanceCounterKHR;\n",{"type":13,"tag":33,"props":147,"children":152},{"className":148,"code":149,"filename":150,"language":151,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PerformanceCounterKHR {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n unit: vk::PerformanceCounterUnitKHR,\n scope: vk::PerformanceCounterScopeKHR,\n storage: vk::PerformanceCounterStorageKHR,\n uuid: *const [u8 ; UUID_SIZE],\n}\n","Rust","rs",[153],{"type":13,"tag":21,"props":154,"children":155},{"__ignoreMap":39},[156,178,211,233,262,291,320,363],{"type":13,"tag":45,"props":157,"children":158},{"class":47,"line":48},[159,164,168,173],{"type":13,"tag":45,"props":160,"children":161},{"style":52},[162],{"type":18,"value":163},"pub",{"type":13,"tag":45,"props":165,"children":166},{"style":52},[167],{"type":18,"value":60},{"type":13,"tag":45,"props":169,"children":170},{"style":128},[171],{"type":18,"value":172}," PerformanceCounterKHR",{"type":13,"tag":45,"props":174,"children":175},{"style":63},[176],{"type":18,"value":177}," {\n",{"type":13,"tag":45,"props":179,"children":180},{"class":47,"line":69},[181,186,191,196,201,206],{"type":13,"tag":45,"props":182,"children":183},{"style":63},[184],{"type":18,"value":185}," s_type",{"type":13,"tag":45,"props":187,"children":188},{"style":52},[189],{"type":18,"value":190},":",{"type":13,"tag":45,"props":192,"children":193},{"style":128},[194],{"type":18,"value":195}," vk",{"type":13,"tag":45,"props":197,"children":198},{"style":52},[199],{"type":18,"value":200},"::",{"type":13,"tag":45,"props":202,"children":203},{"style":128},[204],{"type":18,"value":205},"StructureType",{"type":13,"tag":45,"props":207,"children":208},{"style":63},[209],{"type":18,"value":210},",\n",{"type":13,"tag":45,"props":212,"children":213},{"class":47,"line":78},[214,219,223,228],{"type":13,"tag":45,"props":215,"children":216},{"style":63},[217],{"type":18,"value":218}," p_next",{"type":13,"tag":45,"props":220,"children":221},{"style":52},[222],{"type":18,"value":190},{"type":13,"tag":45,"props":224,"children":225},{"style":52},[226],{"type":18,"value":227}," *mut",{"type":13,"tag":45,"props":229,"children":230},{"style":63},[231],{"type":18,"value":232}," c_void,\n",{"type":13,"tag":45,"props":234,"children":235},{"class":47,"line":92},[236,241,245,249,253,258],{"type":13,"tag":45,"props":237,"children":238},{"style":63},[239],{"type":18,"value":240}," unit",{"type":13,"tag":45,"props":242,"children":243},{"style":52},[244],{"type":18,"value":190},{"type":13,"tag":45,"props":246,"children":247},{"style":128},[248],{"type":18,"value":195},{"type":13,"tag":45,"props":250,"children":251},{"style":52},[252],{"type":18,"value":200},{"type":13,"tag":45,"props":254,"children":255},{"style":128},[256],{"type":18,"value":257},"PerformanceCounterUnitKHR",{"type":13,"tag":45,"props":259,"children":260},{"style":63},[261],{"type":18,"value":210},{"type":13,"tag":45,"props":263,"children":264},{"class":47,"line":101},[265,270,274,278,282,287],{"type":13,"tag":45,"props":266,"children":267},{"style":63},[268],{"type":18,"value":269}," scope",{"type":13,"tag":45,"props":271,"children":272},{"style":52},[273],{"type":18,"value":190},{"type":13,"tag":45,"props":275,"children":276},{"style":128},[277],{"type":18,"value":195},{"type":13,"tag":45,"props":279,"children":280},{"style":52},[281],{"type":18,"value":200},{"type":13,"tag":45,"props":283,"children":284},{"style":128},[285],{"type":18,"value":286},"PerformanceCounterScopeKHR",{"type":13,"tag":45,"props":288,"children":289},{"style":63},[290],{"type":18,"value":210},{"type":13,"tag":45,"props":292,"children":293},{"class":47,"line":110},[294,299,303,307,311,316],{"type":13,"tag":45,"props":295,"children":296},{"style":63},[297],{"type":18,"value":298}," storage",{"type":13,"tag":45,"props":300,"children":301},{"style":52},[302],{"type":18,"value":190},{"type":13,"tag":45,"props":304,"children":305},{"style":128},[306],{"type":18,"value":195},{"type":13,"tag":45,"props":308,"children":309},{"style":52},[310],{"type":18,"value":200},{"type":13,"tag":45,"props":312,"children":313},{"style":128},[314],{"type":18,"value":315},"PerformanceCounterStorageKHR",{"type":13,"tag":45,"props":317,"children":318},{"style":63},[319],{"type":18,"value":210},{"type":13,"tag":45,"props":321,"children":322},{"class":47,"line":119},[323,328,332,337,342,347,352,358],{"type":13,"tag":45,"props":324,"children":325},{"style":63},[326],{"type":18,"value":327}," uuid",{"type":13,"tag":45,"props":329,"children":330},{"style":52},[331],{"type":18,"value":190},{"type":13,"tag":45,"props":333,"children":334},{"style":52},[335],{"type":18,"value":336}," *const",{"type":13,"tag":45,"props":338,"children":339},{"style":63},[340],{"type":18,"value":341}," [",{"type":13,"tag":45,"props":343,"children":344},{"style":128},[345],{"type":18,"value":346},"u8",{"type":13,"tag":45,"props":348,"children":349},{"style":63},[350],{"type":18,"value":351}," ; ",{"type":13,"tag":45,"props":353,"children":355},{"style":354},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[356],{"type":18,"value":357},"UUID_SIZE",{"type":13,"tag":45,"props":359,"children":360},{"style":63},[361],{"type":18,"value":362},"],\n",{"type":13,"tag":45,"props":364,"children":365},{"class":47,"line":139},[366],{"type":13,"tag":45,"props":367,"children":368},{"style":63},[369],{"type":18,"value":370},"}\n",{"type":13,"tag":372,"props":373,"children":374},"ul",{},[375,396,415,433,451,469],{"type":13,"tag":376,"props":377,"children":378},"li",{},[379,385,387,394],{"type":13,"tag":21,"props":380,"children":382},{"className":381},[],[383],{"type":18,"value":384},"sType",{"type":18,"value":386}," is a ",{"type":13,"tag":388,"props":389,"children":391},"a",{"href":390},"/man/VkStructureType",[392],{"type":18,"value":393},"VkStructureType",{"type":18,"value":395}," value identifying this structure.",{"type":13,"tag":376,"props":397,"children":398},{},[399,405,407,413],{"type":13,"tag":21,"props":400,"children":402},{"className":401},[],[403],{"type":18,"value":404},"pNext",{"type":18,"value":406}," is ",{"type":13,"tag":21,"props":408,"children":410},{"className":409},[],[411],{"type":18,"value":412},"NULL",{"type":18,"value":414}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":376,"props":416,"children":417},{},[418,424,425,431],{"type":13,"tag":21,"props":419,"children":421},{"className":420},[],[422],{"type":18,"value":423},"unit",{"type":18,"value":386},{"type":13,"tag":388,"props":426,"children":428},{"href":427},"/man/VkPerformanceCounterUnitKHR",[429],{"type":18,"value":430},"VkPerformanceCounterUnitKHR",{"type":18,"value":432}," specifying the unit\nthat the counter data will record.",{"type":13,"tag":376,"props":434,"children":435},{},[436,442,443,449],{"type":13,"tag":21,"props":437,"children":439},{"className":438},[],[440],{"type":18,"value":441},"scope",{"type":18,"value":386},{"type":13,"tag":388,"props":444,"children":446},{"href":445},"/man/VkPerformanceCounterScopeKHR",[447],{"type":18,"value":448},"VkPerformanceCounterScopeKHR",{"type":18,"value":450}," specifying the scope\nthat the counter belongs to.",{"type":13,"tag":376,"props":452,"children":453},{},[454,460,461,467],{"type":13,"tag":21,"props":455,"children":457},{"className":456},[],[458],{"type":18,"value":459},"storage",{"type":18,"value":386},{"type":13,"tag":388,"props":462,"children":464},{"href":463},"/man/VkPerformanceCounterStorageKHR",[465],{"type":18,"value":466},"VkPerformanceCounterStorageKHR",{"type":18,"value":468}," specifying the\nstorage type that the counter’s data uses.",{"type":13,"tag":376,"props":470,"children":471},{},[472,478,480,486],{"type":13,"tag":21,"props":473,"children":475},{"className":474},[],[476],{"type":18,"value":477},"uuid",{"type":18,"value":479}," is an array of size ",{"type":13,"tag":21,"props":481,"children":483},{"className":482},[],[484],{"type":18,"value":485},"VK_UUID_SIZE",{"type":18,"value":487},", containing 8-bit\nvalues that represent a universally unique identifier for the counter of\nthe physical device.",{"type":13,"tag":489,"props":490,"children":492},"validity-group",{"name":491},"Valid Usage (Implicit)",[493,521],{"type":13,"tag":494,"props":495,"children":497},"validity-field",{"name":496},"VUID-VkPerformanceCounterKHR-sType-sType",[498],{"type":13,"tag":14,"props":499,"children":500},{},[501,506,508,513,515],{"type":13,"tag":21,"props":502,"children":504},{"className":503},[],[505],{"type":18,"value":384},{"type":18,"value":507}," ",{"type":13,"tag":509,"props":510,"children":512},"normative",{"type":511},"must",[],{"type":18,"value":514}," be ",{"type":13,"tag":21,"props":516,"children":518},{"className":517},[],[519],{"type":18,"value":520},"VK_STRUCTURE_TYPE_PERFORMANCE_COUNTER_KHR",{"type":13,"tag":494,"props":522,"children":524},{"name":523},"VUID-VkPerformanceCounterKHR-pNext-pNext",[525],{"type":13,"tag":14,"props":526,"children":527},{},[528,533,534,537,538],{"type":13,"tag":21,"props":529,"children":531},{"className":530},[],[532],{"type":18,"value":404},{"type":18,"value":507},{"type":13,"tag":509,"props":535,"children":536},{"type":511},[],{"type":18,"value":514},{"type":13,"tag":21,"props":539,"children":541},{"className":540},[],[542],{"type":18,"value":412},{"type":13,"tag":544,"props":545,"children":546},"style",{},[547],{"type":18,"value":548},"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":550},[],"markdown",1725732564890]