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