[{"data":1,"prerenderedAt":154},["ShallowReactive",2],{"TP3yRkN6lW":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":153,"_id":4},"MTLDevice_id","Metal MTLDevice type reference","VK_EXT_metal_objects","basetypes",[],{"type":10,"children":11,"toc":151},"root",[12,37,145],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27,29,35],{"type":18,"value":19},"text","The type ",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":26},"id\u003CMTLDevice>",{"type":18,"value":28}," is defined in Appleā€™s Metal framework, but to\nremove an unnecessary compile time dependency, an incomplete type definition\nof ",{"type":13,"tag":30,"props":31,"children":33},"a",{"href":32},"/man/MTLDevice_id",[34],{"type":18,"value":4},{"type":18,"value":36}," is provided in the Vulkan headers:",{"type":13,"tag":38,"props":39,"children":44},"pre",{"className":40,"code":41,"language":42,"meta":43,"style":43},"language-c shiki shiki-themes github-light-default github-dark-default","#ifdef __OBJC__\n@protocol MTLDevice;\ntypedef __unsafe_unretained id\u003CMTLDevice> MTLDevice_id;\n#else\ntypedef void* MTLDevice_id;\n#endif\n","c","",[45],{"type":13,"tag":21,"props":46,"children":47},{"__ignoreMap":43},[48,66,76,110,119,136],{"type":13,"tag":49,"props":50,"children":53},"span",{"class":51,"line":52},"line",1,[54,60],{"type":13,"tag":49,"props":55,"children":57},{"style":56},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[58],{"type":18,"value":59},"#ifdef",{"type":13,"tag":49,"props":61,"children":63},{"style":62},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[64],{"type":18,"value":65}," __OBJC__\n",{"type":13,"tag":49,"props":67,"children":69},{"class":51,"line":68},2,[70],{"type":13,"tag":49,"props":71,"children":73},{"style":72},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[74],{"type":18,"value":75},"@protocol MTLDevice;\n",{"type":13,"tag":49,"props":77,"children":79},{"class":51,"line":78},3,[80,85,90,95,100,105],{"type":13,"tag":49,"props":81,"children":82},{"style":56},[83],{"type":18,"value":84},"typedef",{"type":13,"tag":49,"props":86,"children":87},{"style":72},[88],{"type":18,"value":89}," __unsafe_unretained id",{"type":13,"tag":49,"props":91,"children":92},{"style":56},[93],{"type":18,"value":94},"\u003C",{"type":13,"tag":49,"props":96,"children":97},{"style":72},[98],{"type":18,"value":99},"MTLDevice",{"type":13,"tag":49,"props":101,"children":102},{"style":56},[103],{"type":18,"value":104},">",{"type":13,"tag":49,"props":106,"children":107},{"style":72},[108],{"type":18,"value":109}," MTLDevice_id;\n",{"type":13,"tag":49,"props":111,"children":113},{"class":51,"line":112},4,[114],{"type":13,"tag":49,"props":115,"children":116},{"style":56},[117],{"type":18,"value":118},"#else\n",{"type":13,"tag":49,"props":120,"children":122},{"class":51,"line":121},5,[123,127,132],{"type":13,"tag":49,"props":124,"children":125},{"style":56},[126],{"type":18,"value":84},{"type":13,"tag":49,"props":128,"children":129},{"style":56},[130],{"type":18,"value":131}," void*",{"type":13,"tag":49,"props":133,"children":134},{"style":72},[135],{"type":18,"value":109},{"type":13,"tag":49,"props":137,"children":139},{"class":51,"line":138},6,[140],{"type":13,"tag":49,"props":141,"children":142},{"style":56},[143],{"type":18,"value":144},"#endif\n",{"type":13,"tag":146,"props":147,"children":148},"style",{},[149],{"type":18,"value":150},"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":43,"searchDepth":68,"depth":68,"links":152},[],"markdown",1729612425395]