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