[{"data":1,"prerenderedAt":519},["ShallowReactive",2],{"GHtLXYRmYE":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":518,"_id":4},"VkImportMetalTextureInfoEXT","Structure that identifies Metal MTLTexture objects to use when creating a VkImage.","VK_EXT_metal_objects","structs",[],{"type":10,"children":11,"toc":516},"root",[12,69,81,313,404,453,510],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27,29,36,38,43,45,51,53,59,61,67],{"type":18,"value":19},"text","To import one or more existing Metal ",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":26},"MTLTexture",{"type":18,"value":28}," objects to underlie a\n",{"type":13,"tag":30,"props":31,"children":33},"a",{"href":32},"/man/VkImage",[34],{"type":18,"value":35},"VkImage",{"type":18,"value":37}," object, include one or more ",{"type":13,"tag":21,"props":39,"children":41},{"className":40},[],[42],{"type":18,"value":4},{"type":18,"value":44},"\nstructures in the ",{"type":13,"tag":21,"props":46,"children":48},{"className":47},[],[49],{"type":18,"value":50},"pNext",{"type":18,"value":52}," chain of the ",{"type":13,"tag":30,"props":54,"children":56},{"href":55},"/man/VkImageCreateInfo",[57],{"type":18,"value":58},"VkImageCreateInfo",{"type":18,"value":60}," structure\nin a ",{"type":13,"tag":30,"props":62,"children":64},{"href":63},"/man/vkCreateImage",[65],{"type":18,"value":66},"vkCreateImage",{"type":18,"value":68}," command.",{"type":13,"tag":14,"props":70,"children":71},{},[72,74,79],{"type":18,"value":73},"The ",{"type":13,"tag":21,"props":75,"children":77},{"className":76},[],[78],{"type":18,"value":4},{"type":18,"value":80}," structure is defined as:",{"type":13,"tag":82,"props":83,"children":84},"code-group",{},[85,175],{"type":13,"tag":86,"props":87,"children":93},"pre",{"className":88,"code":89,"filename":90,"language":91,"meta":92,"style":92},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkImportMetalTextureInfoEXT {\n VkStructureType sType;\n const void* pNext;\n VkImageAspectFlagBits plane;\n MTLTexture_id mtlTexture;\n} VkImportMetalTextureInfoEXT;\n","C","c","",[94],{"type":13,"tag":21,"props":95,"children":96},{"__ignoreMap":92},[97,120,129,148,157,166],{"type":13,"tag":98,"props":99,"children":102},"span",{"class":100,"line":101},"line",1,[103,109,114],{"type":13,"tag":98,"props":104,"children":106},{"style":105},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[107],{"type":18,"value":108},"typedef",{"type":13,"tag":98,"props":110,"children":111},{"style":105},[112],{"type":18,"value":113}," struct",{"type":13,"tag":98,"props":115,"children":117},{"style":116},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[118],{"type":18,"value":119}," VkImportMetalTextureInfoEXT {\n",{"type":13,"tag":98,"props":121,"children":123},{"class":100,"line":122},2,[124],{"type":13,"tag":98,"props":125,"children":126},{"style":116},[127],{"type":18,"value":128}," VkStructureType sType;\n",{"type":13,"tag":98,"props":130,"children":132},{"class":100,"line":131},3,[133,138,143],{"type":13,"tag":98,"props":134,"children":135},{"style":105},[136],{"type":18,"value":137}," const",{"type":13,"tag":98,"props":139,"children":140},{"style":105},[141],{"type":18,"value":142}," void*",{"type":13,"tag":98,"props":144,"children":145},{"style":116},[146],{"type":18,"value":147}," pNext;\n",{"type":13,"tag":98,"props":149,"children":151},{"class":100,"line":150},4,[152],{"type":13,"tag":98,"props":153,"children":154},{"style":116},[155],{"type":18,"value":156}," VkImageAspectFlagBits plane;\n",{"type":13,"tag":98,"props":158,"children":160},{"class":100,"line":159},5,[161],{"type":13,"tag":98,"props":162,"children":163},{"style":116},[164],{"type":18,"value":165}," MTLTexture_id mtlTexture;\n",{"type":13,"tag":98,"props":167,"children":169},{"class":100,"line":168},6,[170],{"type":13,"tag":98,"props":171,"children":172},{"style":116},[173],{"type":18,"value":174},"} VkImportMetalTextureInfoEXT;\n",{"type":13,"tag":86,"props":176,"children":181},{"className":177,"code":178,"filename":179,"language":180,"meta":92,"style":92},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct ImportMetalTextureInfoEXT {\n s_type: vk::StructureType,\n p_next: *const c_void,\n plane: ImageAspectFlags,\n mtl_texture: MTLTexture_id,\n}\n","Rust","rs",[182],{"type":13,"tag":21,"props":183,"children":184},{"__ignoreMap":92},[185,208,241,263,284,305],{"type":13,"tag":98,"props":186,"children":187},{"class":100,"line":101},[188,193,197,203],{"type":13,"tag":98,"props":189,"children":190},{"style":105},[191],{"type":18,"value":192},"pub",{"type":13,"tag":98,"props":194,"children":195},{"style":105},[196],{"type":18,"value":113},{"type":13,"tag":98,"props":198,"children":200},{"style":199},"--shiki-default:#953800;--shiki-dark:#FFA657",[201],{"type":18,"value":202}," ImportMetalTextureInfoEXT",{"type":13,"tag":98,"props":204,"children":205},{"style":116},[206],{"type":18,"value":207}," {\n",{"type":13,"tag":98,"props":209,"children":210},{"class":100,"line":122},[211,216,221,226,231,236],{"type":13,"tag":98,"props":212,"children":213},{"style":116},[214],{"type":18,"value":215}," s_type",{"type":13,"tag":98,"props":217,"children":218},{"style":105},[219],{"type":18,"value":220},":",{"type":13,"tag":98,"props":222,"children":223},{"style":199},[224],{"type":18,"value":225}," vk",{"type":13,"tag":98,"props":227,"children":228},{"style":105},[229],{"type":18,"value":230},"::",{"type":13,"tag":98,"props":232,"children":233},{"style":199},[234],{"type":18,"value":235},"StructureType",{"type":13,"tag":98,"props":237,"children":238},{"style":116},[239],{"type":18,"value":240},",\n",{"type":13,"tag":98,"props":242,"children":243},{"class":100,"line":131},[244,249,253,258],{"type":13,"tag":98,"props":245,"children":246},{"style":116},[247],{"type":18,"value":248}," p_next",{"type":13,"tag":98,"props":250,"children":251},{"style":105},[252],{"type":18,"value":220},{"type":13,"tag":98,"props":254,"children":255},{"style":105},[256],{"type":18,"value":257}," *const",{"type":13,"tag":98,"props":259,"children":260},{"style":116},[261],{"type":18,"value":262}," c_void,\n",{"type":13,"tag":98,"props":264,"children":265},{"class":100,"line":150},[266,271,275,280],{"type":13,"tag":98,"props":267,"children":268},{"style":116},[269],{"type":18,"value":270}," plane",{"type":13,"tag":98,"props":272,"children":273},{"style":105},[274],{"type":18,"value":220},{"type":13,"tag":98,"props":276,"children":277},{"style":199},[278],{"type":18,"value":279}," ImageAspectFlags",{"type":13,"tag":98,"props":281,"children":282},{"style":116},[283],{"type":18,"value":240},{"type":13,"tag":98,"props":285,"children":286},{"class":100,"line":159},[287,292,296,301],{"type":13,"tag":98,"props":288,"children":289},{"style":116},[290],{"type":18,"value":291}," mtl_texture",{"type":13,"tag":98,"props":293,"children":294},{"style":105},[295],{"type":18,"value":220},{"type":13,"tag":98,"props":297,"children":298},{"style":199},[299],{"type":18,"value":300}," MTLTexture_id",{"type":13,"tag":98,"props":302,"children":303},{"style":116},[304],{"type":18,"value":240},{"type":13,"tag":98,"props":306,"children":307},{"class":100,"line":168},[308],{"type":13,"tag":98,"props":309,"children":310},{"style":116},[311],{"type":18,"value":312},"}\n",{"type":13,"tag":314,"props":315,"children":316},"ul",{},[317,337,355,380],{"type":13,"tag":318,"props":319,"children":320},"li",{},[321,327,329,335],{"type":13,"tag":21,"props":322,"children":324},{"className":323},[],[325],{"type":18,"value":326},"sType",{"type":18,"value":328}," is a ",{"type":13,"tag":30,"props":330,"children":332},{"href":331},"/man/VkStructureType",[333],{"type":18,"value":334},"VkStructureType",{"type":18,"value":336}," value identifying this structure.",{"type":13,"tag":318,"props":338,"children":339},{},[340,345,347,353],{"type":13,"tag":21,"props":341,"children":343},{"className":342},[],[344],{"type":18,"value":50},{"type":18,"value":346}," is ",{"type":13,"tag":21,"props":348,"children":350},{"className":349},[],[351],{"type":18,"value":352},"NULL",{"type":18,"value":354}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":318,"props":356,"children":357},{},[358,364,366,370,372,378],{"type":13,"tag":21,"props":359,"children":361},{"className":360},[],[362],{"type":18,"value":363},"plane",{"type":18,"value":365}," indicates the plane of the ",{"type":13,"tag":30,"props":367,"children":368},{"href":32},[369],{"type":18,"value":35},{"type":18,"value":371}," that the\n",{"type":13,"tag":21,"props":373,"children":375},{"className":374},[],[376],{"type":18,"value":377},"id\u003CMTLTexture>",{"type":18,"value":379}," object should be attached to.",{"type":13,"tag":318,"props":381,"children":382},{},[383,389,391,396,398,402],{"type":13,"tag":21,"props":384,"children":386},{"className":385},[],[387],{"type":18,"value":388},"mtlTexture",{"type":18,"value":390}," is a the Metal ",{"type":13,"tag":21,"props":392,"children":394},{"className":393},[],[395],{"type":18,"value":377},{"type":18,"value":397}," object that is to\nunderlie the ",{"type":13,"tag":30,"props":399,"children":400},{"href":32},[401],{"type":18,"value":35},{"type":18,"value":403}," plane.",{"type":13,"tag":14,"props":405,"children":406},{},[407,408,413,415,420,422,427,429,433,435,438,440,445,447,451],{"type":18,"value":73},{"type":13,"tag":21,"props":409,"children":411},{"className":410},[],[412],{"type":18,"value":50},{"type":18,"value":414}," chain ",{"type":13,"tag":416,"props":417,"children":419},"normative",{"type":418},"must",[],{"type":18,"value":421}," include one ",{"type":13,"tag":21,"props":423,"children":425},{"className":424},[],[426],{"type":18,"value":4},{"type":18,"value":428},"\nstructure for each plane in the ",{"type":13,"tag":30,"props":430,"children":431},{"href":32},[432],{"type":18,"value":35},{"type":18,"value":434},".\nThe application ",{"type":13,"tag":416,"props":436,"children":437},{"type":418},[],{"type":18,"value":439}," ensure that the configuration of the Metal\n",{"type":13,"tag":21,"props":441,"children":443},{"className":442},[],[444],{"type":18,"value":377},{"type":18,"value":446}," objects are compatible with the configuration of the\n",{"type":13,"tag":30,"props":448,"children":449},{"href":32},[450],{"type":18,"value":35},{"type":18,"value":452},".\nFailure to do so results in undefined: behavior.",{"type":13,"tag":454,"props":455,"children":457},"validity-group",{"name":456},"Valid Usage (Implicit)",[458,484],{"type":13,"tag":459,"props":460,"children":462},"validity-field",{"name":461},"VUID-VkImportMetalTextureInfoEXT-sType-sType",[463],{"type":13,"tag":14,"props":464,"children":465},{},[466,471,473,476,478],{"type":13,"tag":21,"props":467,"children":469},{"className":468},[],[470],{"type":18,"value":326},{"type":18,"value":472}," ",{"type":13,"tag":416,"props":474,"children":475},{"type":418},[],{"type":18,"value":477}," be ",{"type":13,"tag":21,"props":479,"children":481},{"className":480},[],[482],{"type":18,"value":483},"VK_STRUCTURE_TYPE_IMPORT_METAL_TEXTURE_INFO_EXT",{"type":13,"tag":459,"props":485,"children":487},{"name":486},"VUID-VkImportMetalTextureInfoEXT-plane-parameter",[488],{"type":13,"tag":14,"props":489,"children":490},{},[491,496,497,500,502,508],{"type":13,"tag":21,"props":492,"children":494},{"className":493},[],[495],{"type":18,"value":363},{"type":18,"value":472},{"type":13,"tag":416,"props":498,"children":499},{"type":418},[],{"type":18,"value":501}," be a valid ",{"type":13,"tag":30,"props":503,"children":505},{"href":504},"/man/VkImageAspectFlagBits",[506],{"type":18,"value":507},"VkImageAspectFlagBits",{"type":18,"value":509}," value",{"type":13,"tag":511,"props":512,"children":513},"style",{},[514],{"type":18,"value":515},"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":92,"searchDepth":122,"depth":122,"links":517},[],"markdown",1725732559752]