[{"data":1,"prerenderedAt":468},["ShallowReactive",2],{"u0T9AsC8oL":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":467,"_id":4},"VkImportMetalIOSurfaceInfoEXT","Structure that identifies a VkImage object and corresponding Metal IOSurfaceRef object to use.","VK_EXT_metal_objects","structs",[],{"type":10,"children":11,"toc":465},"root",[12,69,81,283,355,404,428,459],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27,29,35,37,43,45,51,53,59,61,67],{"type":18,"value":19},"text","To import, or create, a Metal ",{"type":13,"tag":21,"props":22,"children":24},"a",{"href":23},"/man/IOSurfaceRef",[25],{"type":18,"value":26},"IOSurfaceRef",{"type":18,"value":28}," object to underlie a\n",{"type":13,"tag":21,"props":30,"children":32},{"href":31},"/man/VkImage",[33],{"type":18,"value":34},"VkImage",{"type":18,"value":36}," object, include a ",{"type":13,"tag":38,"props":39,"children":41},"code",{"className":40},[],[42],{"type":18,"value":4},{"type":18,"value":44},"\nstructure in the ",{"type":13,"tag":38,"props":46,"children":48},{"className":47},[],[49],{"type":18,"value":50},"pNext",{"type":18,"value":52}," chain of the ",{"type":13,"tag":21,"props":54,"children":56},{"href":55},"/man/VkImageCreateInfo",[57],{"type":18,"value":58},"VkImageCreateInfo",{"type":18,"value":60}," structure\nin a ",{"type":13,"tag":21,"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":38,"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,166],{"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 VkImportMetalIOSurfaceInfoEXT {\n VkStructureType sType;\n const void* pNext;\n IOSurfaceRef ioSurface;\n} VkImportMetalIOSurfaceInfoEXT;\n","C","c","",[94],{"type":13,"tag":38,"props":95,"children":96},{"__ignoreMap":92},[97,120,129,148,157],{"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}," VkImportMetalIOSurfaceInfoEXT {\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}," IOSurfaceRef ioSurface;\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},"} VkImportMetalIOSurfaceInfoEXT;\n",{"type":13,"tag":86,"props":167,"children":172},{"className":168,"code":169,"filename":170,"language":171,"meta":92,"style":92},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct ImportMetalIOSurfaceInfoEXT {\n s_type: vk::StructureType,\n p_next: *const c_void,\n io_surface: IOSurfaceRef,\n}\n","Rust","rs",[173],{"type":13,"tag":38,"props":174,"children":175},{"__ignoreMap":92},[176,199,232,254,275],{"type":13,"tag":98,"props":177,"children":178},{"class":100,"line":101},[179,184,188,194],{"type":13,"tag":98,"props":180,"children":181},{"style":105},[182],{"type":18,"value":183},"pub",{"type":13,"tag":98,"props":185,"children":186},{"style":105},[187],{"type":18,"value":113},{"type":13,"tag":98,"props":189,"children":191},{"style":190},"--shiki-default:#953800;--shiki-dark:#FFA657",[192],{"type":18,"value":193}," ImportMetalIOSurfaceInfoEXT",{"type":13,"tag":98,"props":195,"children":196},{"style":116},[197],{"type":18,"value":198}," {\n",{"type":13,"tag":98,"props":200,"children":201},{"class":100,"line":122},[202,207,212,217,222,227],{"type":13,"tag":98,"props":203,"children":204},{"style":116},[205],{"type":18,"value":206}," s_type",{"type":13,"tag":98,"props":208,"children":209},{"style":105},[210],{"type":18,"value":211},":",{"type":13,"tag":98,"props":213,"children":214},{"style":190},[215],{"type":18,"value":216}," vk",{"type":13,"tag":98,"props":218,"children":219},{"style":105},[220],{"type":18,"value":221},"::",{"type":13,"tag":98,"props":223,"children":224},{"style":190},[225],{"type":18,"value":226},"StructureType",{"type":13,"tag":98,"props":228,"children":229},{"style":116},[230],{"type":18,"value":231},",\n",{"type":13,"tag":98,"props":233,"children":234},{"class":100,"line":131},[235,240,244,249],{"type":13,"tag":98,"props":236,"children":237},{"style":116},[238],{"type":18,"value":239}," p_next",{"type":13,"tag":98,"props":241,"children":242},{"style":105},[243],{"type":18,"value":211},{"type":13,"tag":98,"props":245,"children":246},{"style":105},[247],{"type":18,"value":248}," *const",{"type":13,"tag":98,"props":250,"children":251},{"style":116},[252],{"type":18,"value":253}," c_void,\n",{"type":13,"tag":98,"props":255,"children":256},{"class":100,"line":150},[257,262,266,271],{"type":13,"tag":98,"props":258,"children":259},{"style":116},[260],{"type":18,"value":261}," io_surface",{"type":13,"tag":98,"props":263,"children":264},{"style":105},[265],{"type":18,"value":211},{"type":13,"tag":98,"props":267,"children":268},{"style":190},[269],{"type":18,"value":270}," IOSurfaceRef",{"type":13,"tag":98,"props":272,"children":273},{"style":116},[274],{"type":18,"value":231},{"type":13,"tag":98,"props":276,"children":277},{"class":100,"line":159},[278],{"type":13,"tag":98,"props":279,"children":280},{"style":116},[281],{"type":18,"value":282},"}\n",{"type":13,"tag":284,"props":285,"children":286},"ul",{},[287,307,325],{"type":13,"tag":288,"props":289,"children":290},"li",{},[291,297,299,305],{"type":13,"tag":38,"props":292,"children":294},{"className":293},[],[295],{"type":18,"value":296},"sType",{"type":18,"value":298}," is a ",{"type":13,"tag":21,"props":300,"children":302},{"href":301},"/man/VkStructureType",[303],{"type":18,"value":304},"VkStructureType",{"type":18,"value":306}," value identifying this structure.",{"type":13,"tag":288,"props":308,"children":309},{},[310,315,317,323],{"type":13,"tag":38,"props":311,"children":313},{"className":312},[],[314],{"type":18,"value":50},{"type":18,"value":316}," is ",{"type":13,"tag":38,"props":318,"children":320},{"className":319},[],[321],{"type":18,"value":322},"NULL",{"type":18,"value":324}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":288,"props":326,"children":327},{},[328,334,335,341,343,347,349,353],{"type":13,"tag":38,"props":329,"children":331},{"className":330},[],[332],{"type":18,"value":333},"ioSurface",{"type":18,"value":316},{"type":13,"tag":21,"props":336,"children":338},{"href":337},"/man/VK_NULL_HANDLE",[339],{"type":18,"value":340},"VK_NULL_HANDLE",{"type":18,"value":342}," or the Metal\n",{"type":13,"tag":21,"props":344,"children":345},{"href":23},[346],{"type":18,"value":26},{"type":18,"value":348}," object that is to underlie the ",{"type":13,"tag":21,"props":350,"children":351},{"href":31},[352],{"type":18,"value":34},{"type":18,"value":354},".",{"type":13,"tag":14,"props":356,"children":357},{},[358,360,365,367,371,373,377,379,384,385,389,391,397,399,403],{"type":18,"value":359},"If ",{"type":13,"tag":38,"props":361,"children":363},{"className":362},[],[364],{"type":18,"value":333},{"type":18,"value":366}," is not ",{"type":13,"tag":21,"props":368,"children":369},{"href":337},[370],{"type":18,"value":340},{"type":18,"value":372},", it will be used to underlie\nthe ",{"type":13,"tag":21,"props":374,"children":375},{"href":31},[376],{"type":18,"value":34},{"type":18,"value":378},".\nIf ",{"type":13,"tag":38,"props":380,"children":382},{"className":381},[],[383],{"type":18,"value":333},{"type":18,"value":316},{"type":13,"tag":21,"props":386,"children":387},{"href":337},[388],{"type":18,"value":340},{"type":18,"value":390},", the implementation will create a\nnew ",{"type":13,"tag":38,"props":392,"children":394},{"className":393},[],[395],{"type":18,"value":396},"IOSurface",{"type":18,"value":398}," to underlie the ",{"type":13,"tag":21,"props":400,"children":401},{"href":31},[402],{"type":18,"value":34},{"type":18,"value":354},{"type":13,"tag":14,"props":405,"children":406},{},[407,409,414,416,420,422,426],{"type":18,"value":408},"If provided, the application ",{"type":13,"tag":410,"props":411,"children":413},"normative",{"type":412},"must",[],{"type":18,"value":415}," ensure that the configuration of the\n",{"type":13,"tag":21,"props":417,"children":418},{"href":23},[419],{"type":18,"value":26},{"type":18,"value":421}," object is compatible with the configuration of the\n",{"type":13,"tag":21,"props":423,"children":424},{"href":31},[425],{"type":18,"value":34},{"type":18,"value":427},".\nFailure to do so results in undefined: behavior.",{"type":13,"tag":429,"props":430,"children":432},"validity-group",{"name":431},"Valid Usage (Implicit)",[433],{"type":13,"tag":434,"props":435,"children":437},"validity-field",{"name":436},"VUID-VkImportMetalIOSurfaceInfoEXT-sType-sType",[438],{"type":13,"tag":14,"props":439,"children":440},{},[441,446,448,451,453],{"type":13,"tag":38,"props":442,"children":444},{"className":443},[],[445],{"type":18,"value":296},{"type":18,"value":447}," ",{"type":13,"tag":410,"props":449,"children":450},{"type":412},[],{"type":18,"value":452}," be ",{"type":13,"tag":38,"props":454,"children":456},{"className":455},[],[457],{"type":18,"value":458},"VK_STRUCTURE_TYPE_IMPORT_METAL_IO_SURFACE_INFO_EXT",{"type":13,"tag":460,"props":461,"children":462},"style",{},[463],{"type":18,"value":464},"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":466},[],"markdown",1725732559736]