[{"data":1,"prerenderedAt":432},["ShallowReactive",2],{"7m9bUc0UQ7":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":431,"_id":4},"VkExportMetalDeviceInfoEXT","Structure that identifies a VkDevice object and corresponding Metal MTLDevice object","VK_EXT_metal_objects","structs",[],{"type":10,"children":11,"toc":429},"root",[12,77,89,291,390,423],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27,29,36,38,44,46,51,53,59,61,67,69,75],{"type":18,"value":19},"text","To export the Metal ",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":26},"MTLDevice",{"type":18,"value":28}," object underlying the\n",{"type":13,"tag":30,"props":31,"children":33},"a",{"href":32},"/man/VkPhysicalDevice",[34],{"type":18,"value":35},"VkPhysicalDevice",{"type":18,"value":37}," associated with a ",{"type":13,"tag":30,"props":39,"children":41},{"href":40},"/man/VkDevice",[42],{"type":18,"value":43},"VkDevice",{"type":18,"value":45}," object, include a\n",{"type":13,"tag":21,"props":47,"children":49},{"className":48},[],[50],{"type":18,"value":4},{"type":18,"value":52}," structure in the ",{"type":13,"tag":21,"props":54,"children":56},{"className":55},[],[57],{"type":18,"value":58},"pNext",{"type":18,"value":60}," chain of the\n",{"type":13,"tag":21,"props":62,"children":64},{"className":63},[],[65],{"type":18,"value":66},"pMetalObjectsInfo",{"type":18,"value":68}," parameter of a ",{"type":13,"tag":30,"props":70,"children":72},{"href":71},"/man/vkExportMetalObjectsEXT",[73],{"type":18,"value":74},"vkExportMetalObjectsEXT",{"type":18,"value":76}," call.",{"type":13,"tag":14,"props":78,"children":79},{},[80,82,87],{"type":18,"value":81},"The ",{"type":13,"tag":21,"props":83,"children":85},{"className":84},[],[86],{"type":18,"value":4},{"type":18,"value":88}," structure is defined as:",{"type":13,"tag":90,"props":91,"children":92},"code-group",{},[93,174],{"type":13,"tag":94,"props":95,"children":101},"pre",{"className":96,"code":97,"filename":98,"language":99,"meta":100,"style":100},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkExportMetalDeviceInfoEXT {\n VkStructureType sType;\n const void* pNext;\n MTLDevice_id mtlDevice;\n} VkExportMetalDeviceInfoEXT;\n","C","c","",[102],{"type":13,"tag":21,"props":103,"children":104},{"__ignoreMap":100},[105,128,137,156,165],{"type":13,"tag":106,"props":107,"children":110},"span",{"class":108,"line":109},"line",1,[111,117,122],{"type":13,"tag":106,"props":112,"children":114},{"style":113},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[115],{"type":18,"value":116},"typedef",{"type":13,"tag":106,"props":118,"children":119},{"style":113},[120],{"type":18,"value":121}," struct",{"type":13,"tag":106,"props":123,"children":125},{"style":124},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[126],{"type":18,"value":127}," VkExportMetalDeviceInfoEXT {\n",{"type":13,"tag":106,"props":129,"children":131},{"class":108,"line":130},2,[132],{"type":13,"tag":106,"props":133,"children":134},{"style":124},[135],{"type":18,"value":136}," VkStructureType sType;\n",{"type":13,"tag":106,"props":138,"children":140},{"class":108,"line":139},3,[141,146,151],{"type":13,"tag":106,"props":142,"children":143},{"style":113},[144],{"type":18,"value":145}," const",{"type":13,"tag":106,"props":147,"children":148},{"style":113},[149],{"type":18,"value":150}," void*",{"type":13,"tag":106,"props":152,"children":153},{"style":124},[154],{"type":18,"value":155}," pNext;\n",{"type":13,"tag":106,"props":157,"children":159},{"class":108,"line":158},4,[160],{"type":13,"tag":106,"props":161,"children":162},{"style":124},[163],{"type":18,"value":164}," MTLDevice_id mtlDevice;\n",{"type":13,"tag":106,"props":166,"children":168},{"class":108,"line":167},5,[169],{"type":13,"tag":106,"props":170,"children":171},{"style":124},[172],{"type":18,"value":173},"} VkExportMetalDeviceInfoEXT;\n",{"type":13,"tag":94,"props":175,"children":180},{"className":176,"code":177,"filename":178,"language":179,"meta":100,"style":100},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct ExportMetalDeviceInfoEXT {\n s_type: vk::StructureType,\n p_next: *const c_void,\n mtl_device: MTLDevice_id,\n}\n","Rust","rs",[181],{"type":13,"tag":21,"props":182,"children":183},{"__ignoreMap":100},[184,207,240,262,283],{"type":13,"tag":106,"props":185,"children":186},{"class":108,"line":109},[187,192,196,202],{"type":13,"tag":106,"props":188,"children":189},{"style":113},[190],{"type":18,"value":191},"pub",{"type":13,"tag":106,"props":193,"children":194},{"style":113},[195],{"type":18,"value":121},{"type":13,"tag":106,"props":197,"children":199},{"style":198},"--shiki-default:#953800;--shiki-dark:#FFA657",[200],{"type":18,"value":201}," ExportMetalDeviceInfoEXT",{"type":13,"tag":106,"props":203,"children":204},{"style":124},[205],{"type":18,"value":206}," {\n",{"type":13,"tag":106,"props":208,"children":209},{"class":108,"line":130},[210,215,220,225,230,235],{"type":13,"tag":106,"props":211,"children":212},{"style":124},[213],{"type":18,"value":214}," s_type",{"type":13,"tag":106,"props":216,"children":217},{"style":113},[218],{"type":18,"value":219},":",{"type":13,"tag":106,"props":221,"children":222},{"style":198},[223],{"type":18,"value":224}," vk",{"type":13,"tag":106,"props":226,"children":227},{"style":113},[228],{"type":18,"value":229},"::",{"type":13,"tag":106,"props":231,"children":232},{"style":198},[233],{"type":18,"value":234},"StructureType",{"type":13,"tag":106,"props":236,"children":237},{"style":124},[238],{"type":18,"value":239},",\n",{"type":13,"tag":106,"props":241,"children":242},{"class":108,"line":139},[243,248,252,257],{"type":13,"tag":106,"props":244,"children":245},{"style":124},[246],{"type":18,"value":247}," p_next",{"type":13,"tag":106,"props":249,"children":250},{"style":113},[251],{"type":18,"value":219},{"type":13,"tag":106,"props":253,"children":254},{"style":113},[255],{"type":18,"value":256}," *const",{"type":13,"tag":106,"props":258,"children":259},{"style":124},[260],{"type":18,"value":261}," c_void,\n",{"type":13,"tag":106,"props":263,"children":264},{"class":108,"line":158},[265,270,274,279],{"type":13,"tag":106,"props":266,"children":267},{"style":124},[268],{"type":18,"value":269}," mtl_device",{"type":13,"tag":106,"props":271,"children":272},{"style":113},[273],{"type":18,"value":219},{"type":13,"tag":106,"props":275,"children":276},{"style":198},[277],{"type":18,"value":278}," MTLDevice_id",{"type":13,"tag":106,"props":280,"children":281},{"style":124},[282],{"type":18,"value":239},{"type":13,"tag":106,"props":284,"children":285},{"class":108,"line":167},[286],{"type":13,"tag":106,"props":287,"children":288},{"style":124},[289],{"type":18,"value":290},"}\n",{"type":13,"tag":292,"props":293,"children":294},"ul",{},[295,315,333],{"type":13,"tag":296,"props":297,"children":298},"li",{},[299,305,307,313],{"type":13,"tag":21,"props":300,"children":302},{"className":301},[],[303],{"type":18,"value":304},"sType",{"type":18,"value":306}," is a ",{"type":13,"tag":30,"props":308,"children":310},{"href":309},"/man/VkStructureType",[311],{"type":18,"value":312},"VkStructureType",{"type":18,"value":314}," value identifying this structure.",{"type":13,"tag":296,"props":316,"children":317},{},[318,323,325,331],{"type":13,"tag":21,"props":319,"children":321},{"className":320},[],[322],{"type":18,"value":58},{"type":18,"value":324}," is ",{"type":13,"tag":21,"props":326,"children":328},{"className":327},[],[329],{"type":18,"value":330},"NULL",{"type":18,"value":332}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":296,"props":334,"children":335},{},[336,342,344,350,351,355,357,361,363,368,370,375,377,382,384,388],{"type":13,"tag":21,"props":337,"children":339},{"className":338},[],[340],{"type":18,"value":341},"mtlDevice",{"type":18,"value":343}," is the Metal ",{"type":13,"tag":21,"props":345,"children":347},{"className":346},[],[348],{"type":18,"value":349},"id\u003CMTLDevice>",{"type":18,"value":28},{"type":13,"tag":30,"props":352,"children":353},{"href":32},[354],{"type":18,"value":35},{"type":18,"value":356}," associated with the ",{"type":13,"tag":30,"props":358,"children":359},{"href":40},[360],{"type":18,"value":43},{"type":18,"value":362}," object\nidentified in the call.\nThe implementation will return the ",{"type":13,"tag":21,"props":364,"children":366},{"className":365},[],[367],{"type":18,"value":26},{"type":18,"value":369}," in this member, or it\nwill return ",{"type":13,"tag":21,"props":371,"children":373},{"className":372},[],[374],{"type":18,"value":330},{"type":18,"value":376}," if no ",{"type":13,"tag":21,"props":378,"children":380},{"className":379},[],[381],{"type":18,"value":26},{"type":18,"value":383}," could be found underlying the\n",{"type":13,"tag":30,"props":385,"children":386},{"href":32},[387],{"type":18,"value":35},{"type":18,"value":389}," object.",{"type":13,"tag":391,"props":392,"children":394},"validity-group",{"name":393},"Valid Usage (Implicit)",[395],{"type":13,"tag":396,"props":397,"children":399},"validity-field",{"name":398},"VUID-VkExportMetalDeviceInfoEXT-sType-sType",[400],{"type":13,"tag":14,"props":401,"children":402},{},[403,408,410,415,417],{"type":13,"tag":21,"props":404,"children":406},{"className":405},[],[407],{"type":18,"value":304},{"type":18,"value":409}," ",{"type":13,"tag":411,"props":412,"children":414},"normative",{"type":413},"must",[],{"type":18,"value":416}," be ",{"type":13,"tag":21,"props":418,"children":420},{"className":419},[],[421],{"type":18,"value":422},"VK_STRUCTURE_TYPE_EXPORT_METAL_DEVICE_INFO_EXT",{"type":13,"tag":424,"props":425,"children":426},"style",{},[427],{"type":18,"value":428},"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":100,"searchDepth":130,"depth":130,"links":430},[],"markdown",1725732551758]