[{"data":1,"prerenderedAt":341},["ShallowReactive",2],{"GtiO6GINbp":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":340,"_id":4},"vkGetPhysicalDeviceProperties2","Returns properties of a physical device","VK_VERSION_1_1","protos",[],{"type":10,"children":11,"toc":338},"root",[12,20,211,246,273,332],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","To query general properties of physical devices once enumerated, call:",{"type":13,"tag":21,"props":22,"children":23},"code-group",{},[24,105],{"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","void vkGetPhysicalDeviceProperties2KHR(\n VkPhysicalDevice physicalDevice,\n VkPhysicalDeviceProperties2* pProperties);\n","C","c","",[33],{"type":13,"tag":34,"props":35,"children":36},"code",{"__ignoreMap":31},[37,61,81],{"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:#CF222E;--shiki-dark:#FF7B72",[47],{"type":18,"value":48},"void",{"type":13,"tag":38,"props":50,"children":52},{"style":51},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[53],{"type":18,"value":54}," vkGetPhysicalDeviceProperties2KHR",{"type":13,"tag":38,"props":56,"children":58},{"style":57},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[59],{"type":18,"value":60},"(\n",{"type":13,"tag":38,"props":62,"children":64},{"class":40,"line":63},2,[65,70,76],{"type":13,"tag":38,"props":66,"children":67},{"style":57},[68],{"type":18,"value":69}," VkPhysicalDevice ",{"type":13,"tag":38,"props":71,"children":73},{"style":72},"--shiki-default:#953800;--shiki-dark:#FFA657",[74],{"type":18,"value":75},"physicalDevice",{"type":13,"tag":38,"props":77,"children":78},{"style":57},[79],{"type":18,"value":80},",\n",{"type":13,"tag":38,"props":82,"children":84},{"class":40,"line":83},3,[85,90,95,100],{"type":13,"tag":38,"props":86,"children":87},{"style":57},[88],{"type":18,"value":89}," VkPhysicalDeviceProperties2",{"type":13,"tag":38,"props":91,"children":92},{"style":45},[93],{"type":18,"value":94},"*",{"type":13,"tag":38,"props":96,"children":97},{"style":72},[98],{"type":18,"value":99}," pProperties",{"type":13,"tag":38,"props":101,"children":102},{"style":57},[103],{"type":18,"value":104},");\n",{"type":13,"tag":25,"props":106,"children":111},{"className":107,"code":108,"filename":109,"language":110,"meta":31,"style":31},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn get_physical_device_properties2_khr(\n physical_device: vk::PhysicalDevice,\n p_properties: *mut vk::PhysicalDeviceProperties2,\n);\n","Rust","rs",[112],{"type":13,"tag":34,"props":113,"children":114},{"__ignoreMap":31},[115,137,169,203],{"type":13,"tag":38,"props":116,"children":117},{"class":40,"line":41},[118,123,128,133],{"type":13,"tag":38,"props":119,"children":120},{"style":45},[121],{"type":18,"value":122},"pub",{"type":13,"tag":38,"props":124,"children":125},{"style":45},[126],{"type":18,"value":127}," fn",{"type":13,"tag":38,"props":129,"children":130},{"style":51},[131],{"type":18,"value":132}," get_physical_device_properties2_khr",{"type":13,"tag":38,"props":134,"children":135},{"style":57},[136],{"type":18,"value":60},{"type":13,"tag":38,"props":138,"children":139},{"class":40,"line":63},[140,145,150,155,160,165],{"type":13,"tag":38,"props":141,"children":142},{"style":57},[143],{"type":18,"value":144}," physical_device",{"type":13,"tag":38,"props":146,"children":147},{"style":45},[148],{"type":18,"value":149},":",{"type":13,"tag":38,"props":151,"children":152},{"style":72},[153],{"type":18,"value":154}," vk",{"type":13,"tag":38,"props":156,"children":157},{"style":45},[158],{"type":18,"value":159},"::",{"type":13,"tag":38,"props":161,"children":162},{"style":72},[163],{"type":18,"value":164},"PhysicalDevice",{"type":13,"tag":38,"props":166,"children":167},{"style":57},[168],{"type":18,"value":80},{"type":13,"tag":38,"props":170,"children":171},{"class":40,"line":83},[172,177,181,186,190,194,199],{"type":13,"tag":38,"props":173,"children":174},{"style":57},[175],{"type":18,"value":176}," p_properties",{"type":13,"tag":38,"props":178,"children":179},{"style":45},[180],{"type":18,"value":149},{"type":13,"tag":38,"props":182,"children":183},{"style":45},[184],{"type":18,"value":185}," *mut",{"type":13,"tag":38,"props":187,"children":188},{"style":72},[189],{"type":18,"value":154},{"type":13,"tag":38,"props":191,"children":192},{"style":45},[193],{"type":18,"value":159},{"type":13,"tag":38,"props":195,"children":196},{"style":72},[197],{"type":18,"value":198},"PhysicalDeviceProperties2",{"type":13,"tag":38,"props":200,"children":201},{"style":57},[202],{"type":18,"value":80},{"type":13,"tag":38,"props":204,"children":206},{"class":40,"line":205},4,[207],{"type":13,"tag":38,"props":208,"children":209},{"style":57},[210],{"type":18,"value":104},{"type":13,"tag":212,"props":213,"children":214},"ul",{},[215,226],{"type":13,"tag":216,"props":217,"children":218},"li",{},[219,224],{"type":13,"tag":34,"props":220,"children":222},{"className":221},[],[223],{"type":18,"value":75},{"type":18,"value":225}," is the handle to the physical device whose\nproperties will be queried.",{"type":13,"tag":216,"props":227,"children":228},{},[229,235,237,244],{"type":13,"tag":34,"props":230,"children":232},{"className":231},[],[233],{"type":18,"value":234},"pProperties",{"type":18,"value":236}," is a pointer to a ",{"type":13,"tag":238,"props":239,"children":241},"a",{"href":240},"/man/VkPhysicalDeviceProperties2",[242],{"type":18,"value":243},"VkPhysicalDeviceProperties2",{"type":18,"value":245},"\nstructure in which properties are returned.",{"type":13,"tag":14,"props":247,"children":248},{},[249,251,256,258,264,266,271],{"type":18,"value":250},"Each structure in ",{"type":13,"tag":34,"props":252,"children":254},{"className":253},[],[255],{"type":18,"value":234},{"type":18,"value":257}," and its ",{"type":13,"tag":34,"props":259,"children":261},{"className":260},[],[262],{"type":18,"value":263},"pNext",{"type":18,"value":265}," chain contains\nmembers corresponding to implementation-dependent properties, behaviors, or\nlimits.\n",{"type":13,"tag":34,"props":267,"children":269},{"className":268},[],[270],{"type":18,"value":4},{"type":18,"value":272}," fills in each member to specify the\ncorresponding value for the implementation.",{"type":13,"tag":274,"props":275,"children":277},"validity-group",{"name":276},"Valid Usage (Implicit)",[278,308],{"type":13,"tag":279,"props":280,"children":282},"validity-field",{"name":281},"VUID-vkGetPhysicalDeviceProperties2-physicalDevice-parameter",[283],{"type":13,"tag":14,"props":284,"children":285},{},[286,291,293,298,300,306],{"type":13,"tag":34,"props":287,"children":289},{"className":288},[],[290],{"type":18,"value":75},{"type":18,"value":292}," ",{"type":13,"tag":294,"props":295,"children":297},"normative",{"type":296},"must",[],{"type":18,"value":299}," be a valid ",{"type":13,"tag":238,"props":301,"children":303},{"href":302},"/man/VkPhysicalDevice",[304],{"type":18,"value":305},"VkPhysicalDevice",{"type":18,"value":307}," handle",{"type":13,"tag":279,"props":309,"children":311},{"name":310},"VUID-vkGetPhysicalDeviceProperties2-pProperties-parameter",[312],{"type":13,"tag":14,"props":313,"children":314},{},[315,320,321,324,326,330],{"type":13,"tag":34,"props":316,"children":318},{"className":317},[],[319],{"type":18,"value":234},{"type":18,"value":292},{"type":13,"tag":294,"props":322,"children":323},{"type":296},[],{"type":18,"value":325}," be a valid pointer to a ",{"type":13,"tag":238,"props":327,"children":328},{"href":240},[329],{"type":18,"value":243},{"type":18,"value":331}," structure",{"type":13,"tag":333,"props":334,"children":335},"style",{},[336],{"type":18,"value":337},"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":63,"depth":63,"links":339},[],"markdown",1725732620219]