[{"data":1,"prerenderedAt":541},["ShallowReactive",2],{"m2o6pJxWge":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":540,"_id":4},"VkMacOSSurfaceCreateInfoMVK","Structure specifying parameters of a newly created macOS surface object","VK_MVK_macos_surface","structs",[],{"type":10,"children":11,"toc":538},"root",[12,28,276,357,459,532],{"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/VkMacOSSurfaceCreateInfoMVK",[25],{"type":18,"value":4},{"type":18,"value":27}," structure is defined as:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,131],{"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 VkMacOSSurfaceCreateInfoMVK {\n VkStructureType sType;\n const void* pNext;\n VkMacOSSurfaceCreateFlagsMVK flags;\n const void* pView;\n} VkMacOSSurfaceCreateInfoMVK;\n","C","c","",[41],{"type":13,"tag":42,"props":43,"children":44},"code",{"__ignoreMap":39},[45,68,77,96,105,122],{"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}," VkMacOSSurfaceCreateInfoMVK {\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}," VkMacOSSurfaceCreateFlagsMVK flags;\n",{"type":13,"tag":46,"props":106,"children":108},{"class":48,"line":107},5,[109,113,117],{"type":13,"tag":46,"props":110,"children":111},{"style":53},[112],{"type":18,"value":85},{"type":13,"tag":46,"props":114,"children":115},{"style":53},[116],{"type":18,"value":90},{"type":13,"tag":46,"props":118,"children":119},{"style":64},[120],{"type":18,"value":121}," pView;\n",{"type":13,"tag":46,"props":123,"children":125},{"class":48,"line":124},6,[126],{"type":13,"tag":46,"props":127,"children":128},{"style":64},[129],{"type":18,"value":130},"} VkMacOSSurfaceCreateInfoMVK;\n",{"type":13,"tag":33,"props":132,"children":137},{"className":133,"code":134,"filename":135,"language":136,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct MacOSSurfaceCreateInfoMVK {\n s_type: vk::StructureType,\n p_next: *const c_void,\n flags: vk::MacOSSurfaceCreateFlagsMVK,\n p_view: *const c_void,\n}\n","Rust","rs",[138],{"type":13,"tag":42,"props":139,"children":140},{"__ignoreMap":39},[141,164,197,219,248,268],{"type":13,"tag":46,"props":142,"children":143},{"class":48,"line":49},[144,149,153,159],{"type":13,"tag":46,"props":145,"children":146},{"style":53},[147],{"type":18,"value":148},"pub",{"type":13,"tag":46,"props":150,"children":151},{"style":53},[152],{"type":18,"value":61},{"type":13,"tag":46,"props":154,"children":156},{"style":155},"--shiki-default:#953800;--shiki-dark:#FFA657",[157],{"type":18,"value":158}," MacOSSurfaceCreateInfoMVK",{"type":13,"tag":46,"props":160,"children":161},{"style":64},[162],{"type":18,"value":163}," {\n",{"type":13,"tag":46,"props":165,"children":166},{"class":48,"line":70},[167,172,177,182,187,192],{"type":13,"tag":46,"props":168,"children":169},{"style":64},[170],{"type":18,"value":171}," s_type",{"type":13,"tag":46,"props":173,"children":174},{"style":53},[175],{"type":18,"value":176},":",{"type":13,"tag":46,"props":178,"children":179},{"style":155},[180],{"type":18,"value":181}," vk",{"type":13,"tag":46,"props":183,"children":184},{"style":53},[185],{"type":18,"value":186},"::",{"type":13,"tag":46,"props":188,"children":189},{"style":155},[190],{"type":18,"value":191},"StructureType",{"type":13,"tag":46,"props":193,"children":194},{"style":64},[195],{"type":18,"value":196},",\n",{"type":13,"tag":46,"props":198,"children":199},{"class":48,"line":79},[200,205,209,214],{"type":13,"tag":46,"props":201,"children":202},{"style":64},[203],{"type":18,"value":204}," p_next",{"type":13,"tag":46,"props":206,"children":207},{"style":53},[208],{"type":18,"value":176},{"type":13,"tag":46,"props":210,"children":211},{"style":53},[212],{"type":18,"value":213}," *const",{"type":13,"tag":46,"props":215,"children":216},{"style":64},[217],{"type":18,"value":218}," c_void,\n",{"type":13,"tag":46,"props":220,"children":221},{"class":48,"line":98},[222,227,231,235,239,244],{"type":13,"tag":46,"props":223,"children":224},{"style":64},[225],{"type":18,"value":226}," flags",{"type":13,"tag":46,"props":228,"children":229},{"style":53},[230],{"type":18,"value":176},{"type":13,"tag":46,"props":232,"children":233},{"style":155},[234],{"type":18,"value":181},{"type":13,"tag":46,"props":236,"children":237},{"style":53},[238],{"type":18,"value":186},{"type":13,"tag":46,"props":240,"children":241},{"style":155},[242],{"type":18,"value":243},"MacOSSurfaceCreateFlagsMVK",{"type":13,"tag":46,"props":245,"children":246},{"style":64},[247],{"type":18,"value":196},{"type":13,"tag":46,"props":249,"children":250},{"class":48,"line":107},[251,256,260,264],{"type":13,"tag":46,"props":252,"children":253},{"style":64},[254],{"type":18,"value":255}," p_view",{"type":13,"tag":46,"props":257,"children":258},{"style":53},[259],{"type":18,"value":176},{"type":13,"tag":46,"props":261,"children":262},{"style":53},[263],{"type":18,"value":213},{"type":13,"tag":46,"props":265,"children":266},{"style":64},[267],{"type":18,"value":218},{"type":13,"tag":46,"props":269,"children":270},{"class":48,"line":124},[271],{"type":13,"tag":46,"props":272,"children":273},{"style":64},[274],{"type":18,"value":275},"}\n",{"type":13,"tag":277,"props":278,"children":279},"ul",{},[280,300,319,330],{"type":13,"tag":281,"props":282,"children":283},"li",{},[284,290,292,298],{"type":13,"tag":42,"props":285,"children":287},{"className":286},[],[288],{"type":18,"value":289},"sType",{"type":18,"value":291}," is a ",{"type":13,"tag":21,"props":293,"children":295},{"href":294},"/man/VkStructureType",[296],{"type":18,"value":297},"VkStructureType",{"type":18,"value":299}," value identifying this structure.",{"type":13,"tag":281,"props":301,"children":302},{},[303,309,311,317],{"type":13,"tag":42,"props":304,"children":306},{"className":305},[],[307],{"type":18,"value":308},"pNext",{"type":18,"value":310}," is ",{"type":13,"tag":42,"props":312,"children":314},{"className":313},[],[315],{"type":18,"value":316},"NULL",{"type":18,"value":318}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":281,"props":320,"children":321},{},[322,328],{"type":13,"tag":42,"props":323,"children":325},{"className":324},[],[326],{"type":18,"value":327},"flags",{"type":18,"value":329}," is reserved for future use.",{"type":13,"tag":281,"props":331,"children":332},{},[333,339,341,347,349,355],{"type":13,"tag":42,"props":334,"children":336},{"className":335},[],[337],{"type":18,"value":338},"pView",{"type":18,"value":340}," is a reference to either a ",{"type":13,"tag":21,"props":342,"children":344},{"href":343},"/man/CAMetalLayer",[345],{"type":18,"value":346},"CAMetalLayer",{"type":18,"value":348}," object or\nan ",{"type":13,"tag":42,"props":350,"children":352},{"className":351},[],[353],{"type":18,"value":354},"NSView",{"type":18,"value":356}," object.",{"type":13,"tag":358,"props":359,"children":361},"validity-group",{"name":360},"Valid Usage",[362,395],{"type":13,"tag":363,"props":364,"children":366},"validity-field",{"name":365},"VUID-VkMacOSSurfaceCreateInfoMVK-pView-04144",[367],{"type":13,"tag":14,"props":368,"children":369},{},[370,372,377,378,382,384,389,391],{"type":18,"value":371},"If ",{"type":13,"tag":42,"props":373,"children":375},{"className":374},[],[376],{"type":18,"value":338},{"type":18,"value":291},{"type":13,"tag":21,"props":379,"children":380},{"href":343},[381],{"type":18,"value":346},{"type":18,"value":383}," object, it ",{"type":13,"tag":385,"props":386,"children":388},"normative",{"type":387},"must",[],{"type":18,"value":390}," be a valid\n",{"type":13,"tag":21,"props":392,"children":393},{"href":343},[394],{"type":18,"value":346},{"type":13,"tag":363,"props":396,"children":398},{"name":397},"VUID-VkMacOSSurfaceCreateInfoMVK-pView-01317",[399],{"type":13,"tag":14,"props":400,"children":401},{},[402,403,408,410,415,416,419,420,425,427,430,432,438,440,444,446,452,454,457],{"type":18,"value":371},{"type":13,"tag":42,"props":404,"children":406},{"className":405},[],[407],{"type":18,"value":338},{"type":18,"value":409}," is an ",{"type":13,"tag":42,"props":411,"children":413},{"className":412},[],[414],{"type":18,"value":354},{"type":18,"value":383},{"type":13,"tag":385,"props":417,"children":418},{"type":387},[],{"type":18,"value":390},{"type":13,"tag":42,"props":421,"children":423},{"className":422},[],[424],{"type":18,"value":354},{"type":18,"value":426},", ",{"type":13,"tag":385,"props":428,"children":429},{"type":387},[],{"type":18,"value":431}," be backed by a ",{"type":13,"tag":42,"props":433,"children":435},{"className":434},[],[436],{"type":18,"value":437},"CALayer",{"type":18,"value":439}," object of type\n",{"type":13,"tag":21,"props":441,"children":442},{"href":343},[443],{"type":18,"value":346},{"type":18,"value":445},", and ",{"type":13,"tag":21,"props":447,"children":449},{"href":448},"/man/vkCreateMacOSSurfaceMVK",[450],{"type":18,"value":451},"vkCreateMacOSSurfaceMVK",{"type":18,"value":453}," ",{"type":13,"tag":385,"props":455,"children":456},{"type":387},[],{"type":18,"value":458}," be called\non the main thread",{"type":13,"tag":358,"props":460,"children":462},{"name":461},"Valid Usage (Implicit)",[463,487,509],{"type":13,"tag":363,"props":464,"children":466},{"name":465},"VUID-VkMacOSSurfaceCreateInfoMVK-sType-sType",[467],{"type":13,"tag":14,"props":468,"children":469},{},[470,475,476,479,481],{"type":13,"tag":42,"props":471,"children":473},{"className":472},[],[474],{"type":18,"value":289},{"type":18,"value":453},{"type":13,"tag":385,"props":477,"children":478},{"type":387},[],{"type":18,"value":480}," be ",{"type":13,"tag":42,"props":482,"children":484},{"className":483},[],[485],{"type":18,"value":486},"VK_STRUCTURE_TYPE_MACOS_SURFACE_CREATE_INFO_MVK",{"type":13,"tag":363,"props":488,"children":490},{"name":489},"VUID-VkMacOSSurfaceCreateInfoMVK-pNext-pNext",[491],{"type":13,"tag":14,"props":492,"children":493},{},[494,499,500,503,504],{"type":13,"tag":42,"props":495,"children":497},{"className":496},[],[498],{"type":18,"value":308},{"type":18,"value":453},{"type":13,"tag":385,"props":501,"children":502},{"type":387},[],{"type":18,"value":480},{"type":13,"tag":42,"props":505,"children":507},{"className":506},[],[508],{"type":18,"value":316},{"type":13,"tag":363,"props":510,"children":512},{"name":511},"VUID-VkMacOSSurfaceCreateInfoMVK-flags-zerobitmask",[513],{"type":13,"tag":14,"props":514,"children":515},{},[516,521,522,525,526],{"type":13,"tag":42,"props":517,"children":519},{"className":518},[],[520],{"type":18,"value":327},{"type":18,"value":453},{"type":13,"tag":385,"props":523,"children":524},{"type":387},[],{"type":18,"value":480},{"type":13,"tag":42,"props":527,"children":529},{"className":528},[],[530],{"type":18,"value":531},"0",{"type":13,"tag":533,"props":534,"children":535},"style",{},[536],{"type":18,"value":537},"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":539},[],"markdown",1729612456227]