[{"data":1,"prerenderedAt":419},["ShallowReactive",2],{"mOXgEofIQ5":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":418,"_id":4},"vkUnmapMemory","Unmap a previously mapped memory object","VK_VERSION_1_0","protos",[],{"type":10,"children":11,"toc":416},"root",[12,20,220,245,282,309,386,410],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","To unmap a memory object once host access to it is no longer needed by the\napplication, call:",{"type":13,"tag":21,"props":22,"children":23},"code-group",{},[24,100],{"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 vkUnmapMemory(\n VkDevice device,\n VkDeviceMemory memory);\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}," vkUnmapMemory",{"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}," VkDevice ",{"type":13,"tag":38,"props":71,"children":73},{"style":72},"--shiki-default:#953800;--shiki-dark:#FFA657",[74],{"type":18,"value":75},"device",{"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],{"type":13,"tag":38,"props":86,"children":87},{"style":57},[88],{"type":18,"value":89}," VkDeviceMemory ",{"type":13,"tag":38,"props":91,"children":92},{"style":72},[93],{"type":18,"value":94},"memory",{"type":13,"tag":38,"props":96,"children":97},{"style":57},[98],{"type":18,"value":99},");\n",{"type":13,"tag":25,"props":101,"children":106},{"className":102,"code":103,"filename":104,"language":105,"meta":31,"style":31},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn unmap_memory(\n device: crate :: vk :: vk::Device,\n memory: vk::DeviceMemory,\n);\n","Rust","rs",[107],{"type":13,"tag":34,"props":108,"children":109},{"__ignoreMap":31},[110,132,183,212],{"type":13,"tag":38,"props":111,"children":112},{"class":40,"line":41},[113,118,123,128],{"type":13,"tag":38,"props":114,"children":115},{"style":45},[116],{"type":18,"value":117},"pub",{"type":13,"tag":38,"props":119,"children":120},{"style":45},[121],{"type":18,"value":122}," fn",{"type":13,"tag":38,"props":124,"children":125},{"style":51},[126],{"type":18,"value":127}," unmap_memory",{"type":13,"tag":38,"props":129,"children":130},{"style":57},[131],{"type":18,"value":60},{"type":13,"tag":38,"props":133,"children":134},{"class":40,"line":63},[135,140,145,150,155,160,165,170,174,179],{"type":13,"tag":38,"props":136,"children":137},{"style":57},[138],{"type":18,"value":139}," device",{"type":13,"tag":38,"props":141,"children":142},{"style":45},[143],{"type":18,"value":144},":",{"type":13,"tag":38,"props":146,"children":147},{"style":45},[148],{"type":18,"value":149}," crate",{"type":13,"tag":38,"props":151,"children":152},{"style":45},[153],{"type":18,"value":154}," ::",{"type":13,"tag":38,"props":156,"children":157},{"style":57},[158],{"type":18,"value":159}," vk ",{"type":13,"tag":38,"props":161,"children":162},{"style":45},[163],{"type":18,"value":164},"::",{"type":13,"tag":38,"props":166,"children":167},{"style":72},[168],{"type":18,"value":169}," vk",{"type":13,"tag":38,"props":171,"children":172},{"style":45},[173],{"type":18,"value":164},{"type":13,"tag":38,"props":175,"children":176},{"style":72},[177],{"type":18,"value":178},"Device",{"type":13,"tag":38,"props":180,"children":181},{"style":57},[182],{"type":18,"value":80},{"type":13,"tag":38,"props":184,"children":185},{"class":40,"line":83},[186,191,195,199,203,208],{"type":13,"tag":38,"props":187,"children":188},{"style":57},[189],{"type":18,"value":190}," memory",{"type":13,"tag":38,"props":192,"children":193},{"style":45},[194],{"type":18,"value":144},{"type":13,"tag":38,"props":196,"children":197},{"style":72},[198],{"type":18,"value":169},{"type":13,"tag":38,"props":200,"children":201},{"style":45},[202],{"type":18,"value":164},{"type":13,"tag":38,"props":204,"children":205},{"style":72},[206],{"type":18,"value":207},"DeviceMemory",{"type":13,"tag":38,"props":209,"children":210},{"style":57},[211],{"type":18,"value":80},{"type":13,"tag":38,"props":213,"children":215},{"class":40,"line":214},4,[216],{"type":13,"tag":38,"props":217,"children":218},{"style":57},[219],{"type":18,"value":99},{"type":13,"tag":221,"props":222,"children":223},"ul",{},[224,235],{"type":13,"tag":225,"props":226,"children":227},"li",{},[228,233],{"type":13,"tag":34,"props":229,"children":231},{"className":230},[],[232],{"type":18,"value":75},{"type":18,"value":234}," is the logical device that owns the memory.",{"type":13,"tag":225,"props":236,"children":237},{},[238,243],{"type":13,"tag":34,"props":239,"children":241},{"className":240},[],[242],{"type":18,"value":94},{"type":18,"value":244}," is the memory object to be unmapped.",{"type":13,"tag":14,"props":246,"children":247},{},[248,250,255,257,264,266,272,274,280],{"type":18,"value":249},"Calling ",{"type":13,"tag":34,"props":251,"children":253},{"className":252},[],[254],{"type":18,"value":4},{"type":18,"value":256}," is equivalent to calling ",{"type":13,"tag":258,"props":259,"children":261},"a",{"href":260},"/man/vkUnmapMemory2KHR",[262],{"type":18,"value":263},"vkUnmapMemory2KHR",{"type":18,"value":265},"\nwith an empty ",{"type":13,"tag":34,"props":267,"children":269},{"className":268},[],[270],{"type":18,"value":271},"pNext",{"type":18,"value":273}," chain and ",{"type":13,"tag":34,"props":275,"children":277},{"className":276},[],[278],{"type":18,"value":279},"flags",{"type":18,"value":281}," set to zero.",{"type":13,"tag":283,"props":284,"children":286},"validity-group",{"name":285},"Valid Usage",[287],{"type":13,"tag":288,"props":289,"children":291},"validity-field",{"name":290},"VUID-vkUnmapMemory-memory-00689",[292],{"type":13,"tag":14,"props":293,"children":294},{},[295,300,302,307],{"type":13,"tag":34,"props":296,"children":298},{"className":297},[],[299],{"type":18,"value":94},{"type":18,"value":301}," ",{"type":13,"tag":303,"props":304,"children":306},"normative",{"type":305},"must",[],{"type":18,"value":308}," be currently host mapped",{"type":13,"tag":283,"props":310,"children":312},{"name":311},"Valid Usage (Implicit)",[313,339,363],{"type":13,"tag":288,"props":314,"children":316},{"name":315},"VUID-vkUnmapMemory-device-parameter",[317],{"type":13,"tag":14,"props":318,"children":319},{},[320,325,326,329,331,337],{"type":13,"tag":34,"props":321,"children":323},{"className":322},[],[324],{"type":18,"value":75},{"type":18,"value":301},{"type":13,"tag":303,"props":327,"children":328},{"type":305},[],{"type":18,"value":330}," be a valid ",{"type":13,"tag":258,"props":332,"children":334},{"href":333},"/man/VkDevice",[335],{"type":18,"value":336},"VkDevice",{"type":18,"value":338}," handle",{"type":13,"tag":288,"props":340,"children":342},{"name":341},"VUID-vkUnmapMemory-memory-parameter",[343],{"type":13,"tag":14,"props":344,"children":345},{},[346,351,352,355,356,362],{"type":13,"tag":34,"props":347,"children":349},{"className":348},[],[350],{"type":18,"value":94},{"type":18,"value":301},{"type":13,"tag":303,"props":353,"children":354},{"type":305},[],{"type":18,"value":330},{"type":13,"tag":258,"props":357,"children":359},{"href":358},"/man/VkDeviceMemory",[360],{"type":18,"value":361},"VkDeviceMemory",{"type":18,"value":338},{"type":13,"tag":288,"props":364,"children":366},{"name":365},"VUID-vkUnmapMemory-memory-parent",[367],{"type":13,"tag":14,"props":368,"children":369},{},[370,375,376,379,381],{"type":13,"tag":34,"props":371,"children":373},{"className":372},[],[374],{"type":18,"value":94},{"type":18,"value":301},{"type":13,"tag":303,"props":377,"children":378},{"type":305},[],{"type":18,"value":380}," have been created, allocated, or retrieved from ",{"type":13,"tag":34,"props":382,"children":384},{"className":383},[],[385],{"type":18,"value":75},{"type":13,"tag":387,"props":388,"children":390},"validity-box",{"name":389},"Host Synchronization",[391],{"type":13,"tag":221,"props":392,"children":393},{},[394],{"type":13,"tag":225,"props":395,"children":396},{},[397,399,404,405,408],{"type":18,"value":398},"Host access to ",{"type":13,"tag":34,"props":400,"children":402},{"className":401},[],[403],{"type":18,"value":94},{"type":18,"value":301},{"type":13,"tag":303,"props":406,"children":407},{"type":305},[],{"type":18,"value":409}," be externally synchronized\n::",{"type":13,"tag":411,"props":412,"children":413},"style",{},[414],{"type":18,"value":415},"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":417},[],"markdown",1729612521268]