[{"data":1,"prerenderedAt":558},["ShallowReactive",2],{"9QxJPkHJFv":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":557,"_id":4},"vkGetPhysicalDeviceToolProperties","Reports properties of tools active on the specified physical device","VK_VERSION_1_3","protos",[],{"type":10,"children":11,"toc":555},"root",[12,20,278,339,414,431,549],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","Information about tools providing debugging, profiling, or similar services,\nactive for a given physical device, can be obtained by calling:",{"type":13,"tag":21,"props":22,"children":23},"code-group",{},[24,123],{"type":13,"tag":25,"props":26,"children":32},"pre",{"className":27,"code":28,"filename":29,"language":30,"meta":31,"style":31},"language-c shiki shiki-themes github-light-default github-dark-default","VkResult vkGetPhysicalDeviceToolPropertiesEXT(\n VkPhysicalDevice physicalDevice,\n uint32_t* pToolCount,\n VkPhysicalDeviceToolProperties* pToolProperties);\n","C","c","",[33],{"type":13,"tag":34,"props":35,"children":36},"code",{"__ignoreMap":31},[37,60,80,99],{"type":13,"tag":38,"props":39,"children":42},"span",{"class":40,"line":41},"line",1,[43,49,55],{"type":13,"tag":38,"props":44,"children":46},{"style":45},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[47],{"type":18,"value":48},"VkResult ",{"type":13,"tag":38,"props":50,"children":52},{"style":51},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[53],{"type":18,"value":54},"vkGetPhysicalDeviceToolPropertiesEXT",{"type":13,"tag":38,"props":56,"children":57},{"style":45},[58],{"type":18,"value":59},"(\n",{"type":13,"tag":38,"props":61,"children":63},{"class":40,"line":62},2,[64,69,75],{"type":13,"tag":38,"props":65,"children":66},{"style":45},[67],{"type":18,"value":68}," VkPhysicalDevice ",{"type":13,"tag":38,"props":70,"children":72},{"style":71},"--shiki-default:#953800;--shiki-dark:#FFA657",[73],{"type":18,"value":74},"physicalDevice",{"type":13,"tag":38,"props":76,"children":77},{"style":45},[78],{"type":18,"value":79},",\n",{"type":13,"tag":38,"props":81,"children":83},{"class":40,"line":82},3,[84,90,95],{"type":13,"tag":38,"props":85,"children":87},{"style":86},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[88],{"type":18,"value":89}," uint32_t*",{"type":13,"tag":38,"props":91,"children":92},{"style":71},[93],{"type":18,"value":94}," pToolCount",{"type":13,"tag":38,"props":96,"children":97},{"style":45},[98],{"type":18,"value":79},{"type":13,"tag":38,"props":100,"children":102},{"class":40,"line":101},4,[103,108,113,118],{"type":13,"tag":38,"props":104,"children":105},{"style":45},[106],{"type":18,"value":107}," VkPhysicalDeviceToolProperties",{"type":13,"tag":38,"props":109,"children":110},{"style":86},[111],{"type":18,"value":112},"*",{"type":13,"tag":38,"props":114,"children":115},{"style":71},[116],{"type":18,"value":117}," pToolProperties",{"type":13,"tag":38,"props":119,"children":120},{"style":45},[121],{"type":18,"value":122},");\n",{"type":13,"tag":25,"props":124,"children":129},{"className":125,"code":126,"filename":127,"language":128,"meta":31,"style":31},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn get_physical_device_tool_properties_ext(\n physical_device: vk::PhysicalDevice,\n p_tool_count: *mut u32,\n p_tool_properties: *mut vk::PhysicalDeviceToolProperties,\n) -> vk::Result;\n","Rust","rs",[130],{"type":13,"tag":34,"props":131,"children":132},{"__ignoreMap":31},[133,155,187,213,246],{"type":13,"tag":38,"props":134,"children":135},{"class":40,"line":41},[136,141,146,151],{"type":13,"tag":38,"props":137,"children":138},{"style":86},[139],{"type":18,"value":140},"pub",{"type":13,"tag":38,"props":142,"children":143},{"style":86},[144],{"type":18,"value":145}," fn",{"type":13,"tag":38,"props":147,"children":148},{"style":51},[149],{"type":18,"value":150}," get_physical_device_tool_properties_ext",{"type":13,"tag":38,"props":152,"children":153},{"style":45},[154],{"type":18,"value":59},{"type":13,"tag":38,"props":156,"children":157},{"class":40,"line":62},[158,163,168,173,178,183],{"type":13,"tag":38,"props":159,"children":160},{"style":45},[161],{"type":18,"value":162}," physical_device",{"type":13,"tag":38,"props":164,"children":165},{"style":86},[166],{"type":18,"value":167},":",{"type":13,"tag":38,"props":169,"children":170},{"style":71},[171],{"type":18,"value":172}," vk",{"type":13,"tag":38,"props":174,"children":175},{"style":86},[176],{"type":18,"value":177},"::",{"type":13,"tag":38,"props":179,"children":180},{"style":71},[181],{"type":18,"value":182},"PhysicalDevice",{"type":13,"tag":38,"props":184,"children":185},{"style":45},[186],{"type":18,"value":79},{"type":13,"tag":38,"props":188,"children":189},{"class":40,"line":82},[190,195,199,204,209],{"type":13,"tag":38,"props":191,"children":192},{"style":45},[193],{"type":18,"value":194}," p_tool_count",{"type":13,"tag":38,"props":196,"children":197},{"style":86},[198],{"type":18,"value":167},{"type":13,"tag":38,"props":200,"children":201},{"style":86},[202],{"type":18,"value":203}," *mut",{"type":13,"tag":38,"props":205,"children":206},{"style":71},[207],{"type":18,"value":208}," u32",{"type":13,"tag":38,"props":210,"children":211},{"style":45},[212],{"type":18,"value":79},{"type":13,"tag":38,"props":214,"children":215},{"class":40,"line":101},[216,221,225,229,233,237,242],{"type":13,"tag":38,"props":217,"children":218},{"style":45},[219],{"type":18,"value":220}," p_tool_properties",{"type":13,"tag":38,"props":222,"children":223},{"style":86},[224],{"type":18,"value":167},{"type":13,"tag":38,"props":226,"children":227},{"style":86},[228],{"type":18,"value":203},{"type":13,"tag":38,"props":230,"children":231},{"style":71},[232],{"type":18,"value":172},{"type":13,"tag":38,"props":234,"children":235},{"style":86},[236],{"type":18,"value":177},{"type":13,"tag":38,"props":238,"children":239},{"style":71},[240],{"type":18,"value":241},"PhysicalDeviceToolProperties",{"type":13,"tag":38,"props":243,"children":244},{"style":45},[245],{"type":18,"value":79},{"type":13,"tag":38,"props":247,"children":249},{"class":40,"line":248},5,[250,255,260,264,268,273],{"type":13,"tag":38,"props":251,"children":252},{"style":45},[253],{"type":18,"value":254},") ",{"type":13,"tag":38,"props":256,"children":257},{"style":86},[258],{"type":18,"value":259},"->",{"type":13,"tag":38,"props":261,"children":262},{"style":71},[263],{"type":18,"value":172},{"type":13,"tag":38,"props":265,"children":266},{"style":86},[267],{"type":18,"value":177},{"type":13,"tag":38,"props":269,"children":270},{"style":71},[271],{"type":18,"value":272},"Result",{"type":13,"tag":38,"props":274,"children":275},{"style":45},[276],{"type":18,"value":277},";\n",{"type":13,"tag":279,"props":280,"children":281},"ul",{},[282,293,311],{"type":13,"tag":283,"props":284,"children":285},"li",{},[286,291],{"type":13,"tag":34,"props":287,"children":289},{"className":288},[],[290],{"type":18,"value":74},{"type":18,"value":292}," is the handle to the physical device to query for\nactive tools.",{"type":13,"tag":283,"props":294,"children":295},{},[296,302,304,309],{"type":13,"tag":34,"props":297,"children":299},{"className":298},[],[300],{"type":18,"value":301},"pToolCount",{"type":18,"value":303}," is a pointer to an integer describing the number of\ntools active on ",{"type":13,"tag":34,"props":305,"children":307},{"className":306},[],[308],{"type":18,"value":74},{"type":18,"value":310},".",{"type":13,"tag":283,"props":312,"children":313},{},[314,320,322,328,330,337],{"type":13,"tag":34,"props":315,"children":317},{"className":316},[],[318],{"type":18,"value":319},"pToolProperties",{"type":18,"value":321}," is either ",{"type":13,"tag":34,"props":323,"children":325},{"className":324},[],[326],{"type":18,"value":327},"NULL",{"type":18,"value":329}," or a pointer to an array of\n",{"type":13,"tag":331,"props":332,"children":334},"a",{"href":333},"/man/VkPhysicalDeviceToolProperties",[335],{"type":18,"value":336},"VkPhysicalDeviceToolProperties",{"type":18,"value":338}," structures.",{"type":13,"tag":14,"props":340,"children":341},{},[342,344,349,351,356,358,363,365,370,372,377,379,384,386,391,393,398,400,405,407,412],{"type":18,"value":343},"If ",{"type":13,"tag":34,"props":345,"children":347},{"className":346},[],[348],{"type":18,"value":319},{"type":18,"value":350}," is ",{"type":13,"tag":34,"props":352,"children":354},{"className":353},[],[355],{"type":18,"value":327},{"type":18,"value":357},", then the number of tools currently\nactive on ",{"type":13,"tag":34,"props":359,"children":361},{"className":360},[],[362],{"type":18,"value":74},{"type":18,"value":364}," is returned in ",{"type":13,"tag":34,"props":366,"children":368},{"className":367},[],[369],{"type":18,"value":301},{"type":18,"value":371},".\nOtherwise, ",{"type":13,"tag":34,"props":373,"children":375},{"className":374},[],[376],{"type":18,"value":301},{"type":18,"value":378}," ",{"type":13,"tag":380,"props":381,"children":383},"normative",{"type":382},"must",[],{"type":18,"value":385}," point to a variable set by the application\nto the number of elements in the ",{"type":13,"tag":34,"props":387,"children":389},{"className":388},[],[390],{"type":18,"value":319},{"type":18,"value":392}," array, and on return\nthe variable is overwritten with the number of structures actually written\nto ",{"type":13,"tag":34,"props":394,"children":396},{"className":395},[],[397],{"type":18,"value":319},{"type":18,"value":399},".\nIf ",{"type":13,"tag":34,"props":401,"children":403},{"className":402},[],[404],{"type":18,"value":301},{"type":18,"value":406}," is less than the number of currently active tools, at\nmost ",{"type":13,"tag":34,"props":408,"children":410},{"className":409},[],[411],{"type":18,"value":301},{"type":18,"value":413}," structures will be written.",{"type":13,"tag":14,"props":415,"children":416},{},[417,419,423,425,429],{"type":18,"value":418},"The count and properties of active tools ",{"type":13,"tag":380,"props":420,"children":422},{"type":421},"may",[],{"type":18,"value":424}," change in response to events\noutside the scope of the specification.\nAn application ",{"type":13,"tag":380,"props":426,"children":428},{"type":427},"should",[],{"type":18,"value":430}," assume these properties might change at any given\ntime.",{"type":13,"tag":432,"props":433,"children":435},"validity-group",{"name":434},"Valid Usage (Implicit)",[436,463,489],{"type":13,"tag":437,"props":438,"children":440},"validity-field",{"name":439},"VUID-vkGetPhysicalDeviceToolProperties-physicalDevice-parameter",[441],{"type":13,"tag":14,"props":442,"children":443},{},[444,449,450,453,455,461],{"type":13,"tag":34,"props":445,"children":447},{"className":446},[],[448],{"type":18,"value":74},{"type":18,"value":378},{"type":13,"tag":380,"props":451,"children":452},{"type":382},[],{"type":18,"value":454}," be a valid ",{"type":13,"tag":331,"props":456,"children":458},{"href":457},"/man/VkPhysicalDevice",[459],{"type":18,"value":460},"VkPhysicalDevice",{"type":18,"value":462}," handle",{"type":13,"tag":437,"props":464,"children":466},{"name":465},"VUID-vkGetPhysicalDeviceToolProperties-pToolCount-parameter",[467],{"type":13,"tag":14,"props":468,"children":469},{},[470,475,476,479,481,487],{"type":13,"tag":34,"props":471,"children":473},{"className":472},[],[474],{"type":18,"value":301},{"type":18,"value":378},{"type":13,"tag":380,"props":477,"children":478},{"type":382},[],{"type":18,"value":480}," be a valid pointer to a ",{"type":13,"tag":34,"props":482,"children":484},{"className":483},[],[485],{"type":18,"value":486},"uint32_t",{"type":18,"value":488}," value",{"type":13,"tag":437,"props":490,"children":492},{"name":491},"VUID-vkGetPhysicalDeviceToolProperties-pToolProperties-parameter",[493],{"type":13,"tag":14,"props":494,"children":495},{},[496,498,503,505,511,513,518,519,524,526,531,532,535,537,542,543,547],{"type":18,"value":497},"If the value referenced by ",{"type":13,"tag":34,"props":499,"children":501},{"className":500},[],[502],{"type":18,"value":301},{"type":18,"value":504}," is not ",{"type":13,"tag":34,"props":506,"children":508},{"className":507},[],[509],{"type":18,"value":510},"0",{"type":18,"value":512},", and ",{"type":13,"tag":34,"props":514,"children":516},{"className":515},[],[517],{"type":18,"value":319},{"type":18,"value":504},{"type":13,"tag":34,"props":520,"children":522},{"className":521},[],[523],{"type":18,"value":327},{"type":18,"value":525},", ",{"type":13,"tag":34,"props":527,"children":529},{"className":528},[],[530],{"type":18,"value":319},{"type":18,"value":378},{"type":13,"tag":380,"props":533,"children":534},{"type":382},[],{"type":18,"value":536}," be a valid pointer to an array of ",{"type":13,"tag":34,"props":538,"children":540},{"className":539},[],[541],{"type":18,"value":301},{"type":18,"value":378},{"type":13,"tag":331,"props":544,"children":545},{"href":333},[546],{"type":18,"value":336},{"type":18,"value":548}," structures",{"type":13,"tag":550,"props":551,"children":552},"style",{},[553],{"type":18,"value":554},"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":31,"searchDepth":62,"depth":62,"links":556},[],"markdown",1725732620676]