[{"data":1,"prerenderedAt":415},["ShallowReactive",2],{"IbCrC1Rlrg":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":414,"_id":4},"VkImportMetalBufferInfoEXT","Structure that identifies a Metal MTLBuffer object to use when creating a VkDeviceMemory object.","VK_EXT_metal_objects","structs",[],{"type":10,"children":11,"toc":412},"root",[12,69,81,283,350,375,406],{"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 a Metal ",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":26},"MTLBuffer",{"type":18,"value":28}," object to underlie a ",{"type":13,"tag":30,"props":31,"children":33},"a",{"href":32},"/man/VkDeviceMemory",[34],{"type":18,"value":35},"VkDeviceMemory",{"type":18,"value":37},"\nobject, include a ",{"type":13,"tag":21,"props":39,"children":41},{"className":40},[],[42],{"type":18,"value":4},{"type":18,"value":44}," structure in the\n",{"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/VkMemoryAllocateInfo",[57],{"type":18,"value":58},"VkMemoryAllocateInfo",{"type":18,"value":60}," structure in a\n",{"type":13,"tag":30,"props":62,"children":64},{"href":63},"/man/vkAllocateMemory",[65],{"type":18,"value":66},"vkAllocateMemory",{"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,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 VkImportMetalBufferInfoEXT {\n VkStructureType sType;\n const void* pNext;\n MTLBuffer_id mtlBuffer;\n} VkImportMetalBufferInfoEXT;\n","C","c","",[94],{"type":13,"tag":21,"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}," VkImportMetalBufferInfoEXT {\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}," MTLBuffer_id mtlBuffer;\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},"} VkImportMetalBufferInfoEXT;\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 ImportMetalBufferInfoEXT {\n s_type: vk::StructureType,\n p_next: *const c_void,\n mtl_buffer: MTLBuffer_id,\n}\n","Rust","rs",[173],{"type":13,"tag":21,"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}," ImportMetalBufferInfoEXT",{"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}," mtl_buffer",{"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}," MTLBuffer_id",{"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":21,"props":292,"children":294},{"className":293},[],[295],{"type":18,"value":296},"sType",{"type":18,"value":298}," is a ",{"type":13,"tag":30,"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":21,"props":311,"children":313},{"className":312},[],[314],{"type":18,"value":50},{"type":18,"value":316}," is ",{"type":13,"tag":21,"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,336,342,344,348],{"type":13,"tag":21,"props":329,"children":331},{"className":330},[],[332],{"type":18,"value":333},"mtlBuffer",{"type":18,"value":335}," is the Metal ",{"type":13,"tag":21,"props":337,"children":339},{"className":338},[],[340],{"type":18,"value":341},"id\u003CMTLBuffer>",{"type":18,"value":343}," object that is to underlie\nthe ",{"type":13,"tag":30,"props":345,"children":346},{"href":32},[347],{"type":18,"value":35},{"type":18,"value":349},".",{"type":13,"tag":14,"props":351,"children":352},{},[353,355,360,362,367,369,373],{"type":18,"value":354},"The application ",{"type":13,"tag":356,"props":357,"children":359},"normative",{"type":358},"must",[],{"type":18,"value":361}," ensure that the configuration of the ",{"type":13,"tag":21,"props":363,"children":365},{"className":364},[],[366],{"type":18,"value":341},{"type":18,"value":368},"\nobject is compatible with the configuration of the ",{"type":13,"tag":30,"props":370,"children":371},{"href":32},[372],{"type":18,"value":35},{"type":18,"value":374},".\nFailure to do so results in undefined: behavior.",{"type":13,"tag":376,"props":377,"children":379},"validity-group",{"name":378},"Valid Usage (Implicit)",[380],{"type":13,"tag":381,"props":382,"children":384},"validity-field",{"name":383},"VUID-VkImportMetalBufferInfoEXT-sType-sType",[385],{"type":13,"tag":14,"props":386,"children":387},{},[388,393,395,398,400],{"type":13,"tag":21,"props":389,"children":391},{"className":390},[],[392],{"type":18,"value":296},{"type":18,"value":394}," ",{"type":13,"tag":356,"props":396,"children":397},{"type":358},[],{"type":18,"value":399}," be ",{"type":13,"tag":21,"props":401,"children":403},{"className":402},[],[404],{"type":18,"value":405},"VK_STRUCTURE_TYPE_IMPORT_METAL_BUFFER_INFO_EXT",{"type":13,"tag":407,"props":408,"children":409},"style",{},[410],{"type":18,"value":411},"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":413},[],"markdown",1725732559718]