[{"data":1,"prerenderedAt":466},["ShallowReactive",2],{"LzK4IkwmX5":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":465,"_id":4},"VkPhysicalDevicePerformanceQueryFeaturesKHR","Structure describing performance query support for an implementation","VK_KHR_performance_query","structs",[],{"type":10,"children":11,"toc":463},"root",[12,28,282,287,362,426,457],{"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\nas:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,117],{"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 VkPhysicalDevicePerformanceQueryFeaturesKHR {\n VkStructureType sType;\n void* pNext;\n VkBool32 performanceCounterQueryPools;\n VkBool32 performanceCounterMultipleQueryPools;\n} VkPhysicalDevicePerformanceQueryFeaturesKHR;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,90,99,108],{"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}," VkPhysicalDevicePerformanceQueryFeaturesKHR {\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}," VkBool32 performanceCounterQueryPools;\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}," VkBool32 performanceCounterMultipleQueryPools;\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},"} VkPhysicalDevicePerformanceQueryFeaturesKHR;\n",{"type":13,"tag":33,"props":118,"children":123},{"className":119,"code":120,"filename":121,"language":122,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PhysicalDevicePerformanceQueryFeaturesKHR {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n performance_counter_query_pools: vk::Bool32, // performance counters supported in query pools\n performance_counter_multiple_query_pools: vk::Bool32, // performance counters from multiple query pools can be accessed in the same primary command buffer\n}\n","Rust","rs",[124],{"type":13,"tag":21,"props":125,"children":126},{"__ignoreMap":39},[127,150,183,205,241,274],{"type":13,"tag":45,"props":128,"children":129},{"class":47,"line":48},[130,135,139,145],{"type":13,"tag":45,"props":131,"children":132},{"style":52},[133],{"type":18,"value":134},"pub",{"type":13,"tag":45,"props":136,"children":137},{"style":52},[138],{"type":18,"value":60},{"type":13,"tag":45,"props":140,"children":142},{"style":141},"--shiki-default:#953800;--shiki-dark:#FFA657",[143],{"type":18,"value":144}," PhysicalDevicePerformanceQueryFeaturesKHR",{"type":13,"tag":45,"props":146,"children":147},{"style":63},[148],{"type":18,"value":149}," {\n",{"type":13,"tag":45,"props":151,"children":152},{"class":47,"line":69},[153,158,163,168,173,178],{"type":13,"tag":45,"props":154,"children":155},{"style":63},[156],{"type":18,"value":157}," s_type",{"type":13,"tag":45,"props":159,"children":160},{"style":52},[161],{"type":18,"value":162},":",{"type":13,"tag":45,"props":164,"children":165},{"style":141},[166],{"type":18,"value":167}," vk",{"type":13,"tag":45,"props":169,"children":170},{"style":52},[171],{"type":18,"value":172},"::",{"type":13,"tag":45,"props":174,"children":175},{"style":141},[176],{"type":18,"value":177},"StructureType",{"type":13,"tag":45,"props":179,"children":180},{"style":63},[181],{"type":18,"value":182},",\n",{"type":13,"tag":45,"props":184,"children":185},{"class":47,"line":78},[186,191,195,200],{"type":13,"tag":45,"props":187,"children":188},{"style":63},[189],{"type":18,"value":190}," p_next",{"type":13,"tag":45,"props":192,"children":193},{"style":52},[194],{"type":18,"value":162},{"type":13,"tag":45,"props":196,"children":197},{"style":52},[198],{"type":18,"value":199}," *mut",{"type":13,"tag":45,"props":201,"children":202},{"style":63},[203],{"type":18,"value":204}," c_void,\n",{"type":13,"tag":45,"props":206,"children":207},{"class":47,"line":92},[208,213,217,221,225,230,235],{"type":13,"tag":45,"props":209,"children":210},{"style":63},[211],{"type":18,"value":212}," performance_counter_query_pools",{"type":13,"tag":45,"props":214,"children":215},{"style":52},[216],{"type":18,"value":162},{"type":13,"tag":45,"props":218,"children":219},{"style":141},[220],{"type":18,"value":167},{"type":13,"tag":45,"props":222,"children":223},{"style":52},[224],{"type":18,"value":172},{"type":13,"tag":45,"props":226,"children":227},{"style":141},[228],{"type":18,"value":229},"Bool32",{"type":13,"tag":45,"props":231,"children":232},{"style":63},[233],{"type":18,"value":234},", ",{"type":13,"tag":45,"props":236,"children":238},{"style":237},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[239],{"type":18,"value":240},"// performance counters supported in query pools\n",{"type":13,"tag":45,"props":242,"children":243},{"class":47,"line":101},[244,249,253,257,261,265,269],{"type":13,"tag":45,"props":245,"children":246},{"style":63},[247],{"type":18,"value":248}," performance_counter_multiple_query_pools",{"type":13,"tag":45,"props":250,"children":251},{"style":52},[252],{"type":18,"value":162},{"type":13,"tag":45,"props":254,"children":255},{"style":141},[256],{"type":18,"value":167},{"type":13,"tag":45,"props":258,"children":259},{"style":52},[260],{"type":18,"value":172},{"type":13,"tag":45,"props":262,"children":263},{"style":141},[264],{"type":18,"value":229},{"type":13,"tag":45,"props":266,"children":267},{"style":63},[268],{"type":18,"value":234},{"type":13,"tag":45,"props":270,"children":271},{"style":237},[272],{"type":18,"value":273},"// performance counters from multiple query pools can be accessed in the same primary command buffer\n",{"type":13,"tag":45,"props":275,"children":276},{"class":47,"line":110},[277],{"type":13,"tag":45,"props":278,"children":279},{"style":63},[280],{"type":18,"value":281},"}\n",{"type":13,"tag":14,"props":283,"children":284},{},[285],{"type":18,"value":286},"This structure describes the following features:",{"type":13,"tag":288,"props":289,"children":290},"ul",{},[291,312,331,347],{"type":13,"tag":292,"props":293,"children":294},"li",{},[295,301,303,310],{"type":13,"tag":21,"props":296,"children":298},{"className":297},[],[299],{"type":18,"value":300},"sType",{"type":18,"value":302}," is a ",{"type":13,"tag":304,"props":305,"children":307},"a",{"href":306},"/man/VkStructureType",[308],{"type":18,"value":309},"VkStructureType",{"type":18,"value":311}," value identifying this structure.",{"type":13,"tag":292,"props":313,"children":314},{},[315,321,323,329],{"type":13,"tag":21,"props":316,"children":318},{"className":317},[],[319],{"type":18,"value":320},"pNext",{"type":18,"value":322}," is ",{"type":13,"tag":21,"props":324,"children":326},{"className":325},[],[327],{"type":18,"value":328},"NULL",{"type":18,"value":330}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":292,"props":332,"children":333},{},[334,339,345],{"type":13,"tag":335,"props":336,"children":338},"anchor",{"id":337},"features-performanceCounterQueryPools",[],{"type":13,"tag":21,"props":340,"children":342},{"className":341},[],[343],{"type":18,"value":344},"performanceCounterQueryPools",{"type":18,"value":346}," indicates whether the implementation\nsupports performance counter query pools.",{"type":13,"tag":292,"props":348,"children":349},{},[350,354,360],{"type":13,"tag":335,"props":351,"children":353},{"id":352},"features-performanceCounterMultipleQueryPools",[],{"type":13,"tag":21,"props":355,"children":357},{"className":356},[],[358],{"type":18,"value":359},"performanceCounterMultipleQueryPools",{"type":18,"value":361}," indicates whether the\nimplementation supports using multiple performance query pools in a\nprimary command buffer and secondary command buffers executed within it.",{"type":13,"tag":14,"props":363,"children":364},{},[365,367,372,374,379,381,387,389,395,397,402,404,409,411,416,418,424],{"type":18,"value":366},"If the ",{"type":13,"tag":21,"props":368,"children":370},{"className":369},[],[371],{"type":18,"value":4},{"type":18,"value":373}," structure is included in the ",{"type":13,"tag":21,"props":375,"children":377},{"className":376},[],[378],{"type":18,"value":320},{"type":18,"value":380}," chain of the\n",{"type":13,"tag":304,"props":382,"children":384},{"href":383},"/man/VkPhysicalDeviceFeatures2",[385],{"type":18,"value":386},"VkPhysicalDeviceFeatures2",{"type":18,"value":388}," structure passed to\n",{"type":13,"tag":304,"props":390,"children":392},{"href":391},"/man/vkGetPhysicalDeviceFeatures2",[393],{"type":18,"value":394},"vkGetPhysicalDeviceFeatures2",{"type":18,"value":396},", it is filled in to indicate whether each\ncorresponding feature is supported.\n",{"type":13,"tag":21,"props":398,"children":400},{"className":399},[],[401],{"type":18,"value":4},{"type":18,"value":403}," ",{"type":13,"tag":405,"props":406,"children":408},"normative",{"type":407},"can",[],{"type":18,"value":410}," also be used in the ",{"type":13,"tag":21,"props":412,"children":414},{"className":413},[],[415],{"type":18,"value":320},{"type":18,"value":417}," chain of\n",{"type":13,"tag":304,"props":419,"children":421},{"href":420},"/man/VkDeviceCreateInfo",[422],{"type":18,"value":423},"VkDeviceCreateInfo",{"type":18,"value":425}," to selectively enable these features.",{"type":13,"tag":427,"props":428,"children":430},"validity-group",{"name":429},"Valid Usage (Implicit)",[431],{"type":13,"tag":432,"props":433,"children":435},"validity-field",{"name":434},"VUID-VkPhysicalDevicePerformanceQueryFeaturesKHR-sType-sType",[436],{"type":13,"tag":14,"props":437,"children":438},{},[439,444,445,449,451],{"type":13,"tag":21,"props":440,"children":442},{"className":441},[],[443],{"type":18,"value":300},{"type":18,"value":403},{"type":13,"tag":405,"props":446,"children":448},{"type":447},"must",[],{"type":18,"value":450}," be ",{"type":13,"tag":21,"props":452,"children":454},{"className":453},[],[455],{"type":18,"value":456},"VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PERFORMANCE_QUERY_FEATURES_KHR",{"type":13,"tag":458,"props":459,"children":460},"style",{},[461],{"type":18,"value":462},"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":464},[],"markdown",1729612466488]