[{"data":1,"prerenderedAt":341},["ShallowReactive",2],{"IechbtRbpd":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":340,"_id":4},"vkExportMetalObjectsEXT","Export Metal objects from the corresponding Vulkan objects","VK_EXT_metal_objects","protos",[],{"type":10,"children":11,"toc":338},"root",[12,20,230,273,332],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","To export Metal objects that underlie Vulkan objects, 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 vkExportMetalObjectsEXT(\n VkDevice device,\n VkExportMetalObjectsInfoEXT* pMetalObjectsInfo);\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}," vkExportMetalObjectsEXT",{"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,100],{"type":13,"tag":38,"props":86,"children":87},{"style":57},[88],{"type":18,"value":89}," VkExportMetalObjectsInfoEXT",{"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}," pMetalObjectsInfo",{"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 export_metal_objects_ext(\n device: crate :: vk :: vk::Device,\n p_metal_objects_info: *mut vk::ExportMetalObjectsInfoEXT,\n);\n","Rust","rs",[112],{"type":13,"tag":34,"props":113,"children":114},{"__ignoreMap":31},[115,137,188,222],{"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}," export_metal_objects_ext",{"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,170,175,179,184],{"type":13,"tag":38,"props":141,"children":142},{"style":57},[143],{"type":18,"value":144}," 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":45},[153],{"type":18,"value":154}," crate",{"type":13,"tag":38,"props":156,"children":157},{"style":45},[158],{"type":18,"value":159}," ::",{"type":13,"tag":38,"props":161,"children":162},{"style":57},[163],{"type":18,"value":164}," vk ",{"type":13,"tag":38,"props":166,"children":167},{"style":45},[168],{"type":18,"value":169},"::",{"type":13,"tag":38,"props":171,"children":172},{"style":72},[173],{"type":18,"value":174}," vk",{"type":13,"tag":38,"props":176,"children":177},{"style":45},[178],{"type":18,"value":169},{"type":13,"tag":38,"props":180,"children":181},{"style":72},[182],{"type":18,"value":183},"Device",{"type":13,"tag":38,"props":185,"children":186},{"style":57},[187],{"type":18,"value":80},{"type":13,"tag":38,"props":189,"children":190},{"class":40,"line":83},[191,196,200,205,209,213,218],{"type":13,"tag":38,"props":192,"children":193},{"style":57},[194],{"type":18,"value":195}," p_metal_objects_info",{"type":13,"tag":38,"props":197,"children":198},{"style":45},[199],{"type":18,"value":149},{"type":13,"tag":38,"props":201,"children":202},{"style":45},[203],{"type":18,"value":204}," *mut",{"type":13,"tag":38,"props":206,"children":207},{"style":72},[208],{"type":18,"value":174},{"type":13,"tag":38,"props":210,"children":211},{"style":45},[212],{"type":18,"value":169},{"type":13,"tag":38,"props":214,"children":215},{"style":72},[216],{"type":18,"value":217},"ExportMetalObjectsInfoEXT",{"type":13,"tag":38,"props":219,"children":220},{"style":57},[221],{"type":18,"value":80},{"type":13,"tag":38,"props":223,"children":225},{"class":40,"line":224},4,[226],{"type":13,"tag":38,"props":227,"children":228},{"style":57},[229],{"type":18,"value":104},{"type":13,"tag":231,"props":232,"children":233},"ul",{},[234,245],{"type":13,"tag":235,"props":236,"children":237},"li",{},[238,243],{"type":13,"tag":34,"props":239,"children":241},{"className":240},[],[242],{"type":18,"value":75},{"type":18,"value":244}," is the device that created the Vulkan objects.",{"type":13,"tag":235,"props":246,"children":247},{},[248,254,256,263,265,271],{"type":13,"tag":34,"props":249,"children":251},{"className":250},[],[252],{"type":18,"value":253},"pMetalObjectsInfo",{"type":18,"value":255}," is a pointer to a\n",{"type":13,"tag":257,"props":258,"children":260},"a",{"href":259},"/man/VkExportMetalObjectsInfoEXT",[261],{"type":18,"value":262},"VkExportMetalObjectsInfoEXT",{"type":18,"value":264}," structure whose ",{"type":13,"tag":34,"props":266,"children":268},{"className":267},[],[269],{"type":18,"value":270},"pNext",{"type":18,"value":272}," chain\ncontains structures, each identifying a Vulkan object and providing a\npointer through which the Metal object will be returned.",{"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-vkExportMetalObjectsEXT-device-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":257,"props":301,"children":303},{"href":302},"/man/VkDevice",[304],{"type":18,"value":305},"VkDevice",{"type":18,"value":307}," handle",{"type":13,"tag":279,"props":309,"children":311},{"name":310},"VUID-vkExportMetalObjectsEXT-pMetalObjectsInfo-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":253},{"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":257,"props":327,"children":328},{"href":259},[329],{"type":18,"value":262},{"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",1729612512829]