[{"data":1,"prerenderedAt":340},["ShallowReactive",2],{"MV1M4Kjhd7":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":339,"_id":4},"vkGetPhysicalDeviceMemoryProperties2","Reports memory information for the specified physical device","VK_VERSION_1_1","protos",[],{"type":10,"children":11,"toc":337},"root",[12,20,211,246,272,331],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","To query memory properties, 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 vkGetPhysicalDeviceMemoryProperties2KHR(\n VkPhysicalDevice physicalDevice,\n VkPhysicalDeviceMemoryProperties2* pMemoryProperties);\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}," vkGetPhysicalDeviceMemoryProperties2KHR",{"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}," VkPhysicalDeviceMemoryProperties2",{"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}," pMemoryProperties",{"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_memory_properties2_khr(\n physical_device: vk::PhysicalDevice,\n p_memory_properties: *mut vk::PhysicalDeviceMemoryProperties2,\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_memory_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_memory_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},"PhysicalDeviceMemoryProperties2",{"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 device to query.",{"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},"pMemoryProperties",{"type":18,"value":236}," is a pointer to a\n",{"type":13,"tag":238,"props":239,"children":241},"a",{"href":240},"/man/VkPhysicalDeviceMemoryProperties2",[242],{"type":18,"value":243},"VkPhysicalDeviceMemoryProperties2",{"type":18,"value":245}," structure in which the\nproperties are returned.",{"type":13,"tag":14,"props":247,"children":248},{},[249,254,256,262,264,270],{"type":13,"tag":34,"props":250,"children":252},{"className":251},[],[253],{"type":18,"value":4},{"type":18,"value":255}," behaves similarly to\n",{"type":13,"tag":238,"props":257,"children":259},{"href":258},"/man/vkGetPhysicalDeviceMemoryProperties",[260],{"type":18,"value":261},"vkGetPhysicalDeviceMemoryProperties",{"type":18,"value":263},", with the ability to return\nextended information in a ",{"type":13,"tag":34,"props":265,"children":267},{"className":266},[],[268],{"type":18,"value":269},"pNext",{"type":18,"value":271}," chain of output structures.",{"type":13,"tag":273,"props":274,"children":276},"validity-group",{"name":275},"Valid Usage (Implicit)",[277,307],{"type":13,"tag":278,"props":279,"children":281},"validity-field",{"name":280},"VUID-vkGetPhysicalDeviceMemoryProperties2-physicalDevice-parameter",[282],{"type":13,"tag":14,"props":283,"children":284},{},[285,290,292,297,299,305],{"type":13,"tag":34,"props":286,"children":288},{"className":287},[],[289],{"type":18,"value":75},{"type":18,"value":291}," ",{"type":13,"tag":293,"props":294,"children":296},"normative",{"type":295},"must",[],{"type":18,"value":298}," be a valid ",{"type":13,"tag":238,"props":300,"children":302},{"href":301},"/man/VkPhysicalDevice",[303],{"type":18,"value":304},"VkPhysicalDevice",{"type":18,"value":306}," handle",{"type":13,"tag":278,"props":308,"children":310},{"name":309},"VUID-vkGetPhysicalDeviceMemoryProperties2-pMemoryProperties-parameter",[311],{"type":13,"tag":14,"props":312,"children":313},{},[314,319,320,323,325,329],{"type":13,"tag":34,"props":315,"children":317},{"className":316},[],[318],{"type":18,"value":234},{"type":18,"value":291},{"type":13,"tag":293,"props":321,"children":322},{"type":295},[],{"type":18,"value":324}," be a valid pointer to a ",{"type":13,"tag":238,"props":326,"children":327},{"href":240},[328],{"type":18,"value":243},{"type":18,"value":330}," structure",{"type":13,"tag":332,"props":333,"children":334},"style",{},[335],{"type":18,"value":336},"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":338},[],"markdown",1725732619999]