[{"data":1,"prerenderedAt":504},["ShallowReactive",2],{"3Bht4bIrXL":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":503,"_id":4},"VkExportMetalBufferInfoEXT","Structure that identifies a VkDeviceMemory object and corresponding Metal MTLBuffer object","VK_EXT_metal_objects","structs",[],{"type":10,"children":11,"toc":501},"root",[12,69,81,321,438,495],{"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 export the Metal ",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":26},"MTLBuffer",{"type":18,"value":28}," object underlying 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":21,"props":54,"children":56},{"className":55},[],[57],{"type":18,"value":58},"pMetalObjectsInfo",{"type":18,"value":60}," parameter of a\n",{"type":13,"tag":30,"props":62,"children":64},{"href":63},"/man/vkExportMetalObjectsEXT",[65],{"type":18,"value":66},"vkExportMetalObjectsEXT",{"type":18,"value":68}," call.",{"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 VkExportMetalBufferInfoEXT {\n VkStructureType sType;\n const void* pNext;\n VkDeviceMemory memory;\n MTLBuffer_id mtlBuffer;\n} VkExportMetalBufferInfoEXT;\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}," VkExportMetalBufferInfoEXT {\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}," VkDeviceMemory memory;\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}," MTLBuffer_id mtlBuffer;\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},"} VkExportMetalBufferInfoEXT;\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 ExportMetalBufferInfoEXT {\n s_type: vk::StructureType,\n p_next: *const c_void,\n memory: vk::DeviceMemory,\n mtl_buffer: MTLBuffer_id,\n}\n","Rust","rs",[182],{"type":13,"tag":21,"props":183,"children":184},{"__ignoreMap":92},[185,208,241,263,292,313],{"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}," ExportMetalBufferInfoEXT",{"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,279,283,288],{"type":13,"tag":98,"props":267,"children":268},{"style":116},[269],{"type":18,"value":270}," memory",{"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":225},{"type":13,"tag":98,"props":280,"children":281},{"style":105},[282],{"type":18,"value":230},{"type":13,"tag":98,"props":284,"children":285},{"style":199},[286],{"type":18,"value":287},"DeviceMemory",{"type":13,"tag":98,"props":289,"children":290},{"style":116},[291],{"type":18,"value":240},{"type":13,"tag":98,"props":293,"children":294},{"class":100,"line":159},[295,300,304,309],{"type":13,"tag":98,"props":296,"children":297},{"style":116},[298],{"type":18,"value":299}," mtl_buffer",{"type":13,"tag":98,"props":301,"children":302},{"style":105},[303],{"type":18,"value":220},{"type":13,"tag":98,"props":305,"children":306},{"style":199},[307],{"type":18,"value":308}," MTLBuffer_id",{"type":13,"tag":98,"props":310,"children":311},{"style":116},[312],{"type":18,"value":240},{"type":13,"tag":98,"props":314,"children":315},{"class":100,"line":168},[316],{"type":13,"tag":98,"props":317,"children":318},{"style":116},[319],{"type":18,"value":320},"}\n",{"type":13,"tag":322,"props":323,"children":324},"ul",{},[325,345,363,379],{"type":13,"tag":326,"props":327,"children":328},"li",{},[329,335,337,343],{"type":13,"tag":21,"props":330,"children":332},{"className":331},[],[333],{"type":18,"value":334},"sType",{"type":18,"value":336}," is a ",{"type":13,"tag":30,"props":338,"children":340},{"href":339},"/man/VkStructureType",[341],{"type":18,"value":342},"VkStructureType",{"type":18,"value":344}," value identifying this structure.",{"type":13,"tag":326,"props":346,"children":347},{},[348,353,355,361],{"type":13,"tag":21,"props":349,"children":351},{"className":350},[],[352],{"type":18,"value":50},{"type":18,"value":354}," is ",{"type":13,"tag":21,"props":356,"children":358},{"className":357},[],[359],{"type":18,"value":360},"NULL",{"type":18,"value":362}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":326,"props":364,"children":365},{},[366,372,373,377],{"type":13,"tag":21,"props":367,"children":369},{"className":368},[],[370],{"type":18,"value":371},"memory",{"type":18,"value":336},{"type":13,"tag":30,"props":374,"children":375},{"href":32},[376],{"type":18,"value":35},{"type":18,"value":378},".",{"type":13,"tag":326,"props":380,"children":381},{},[382,388,390,396,398,402,404,409,411,416,418,423,425,430,432,436],{"type":13,"tag":21,"props":383,"children":385},{"className":384},[],[386],{"type":18,"value":387},"mtlBuffer",{"type":18,"value":389}," is the Metal ",{"type":13,"tag":21,"props":391,"children":393},{"className":392},[],[394],{"type":18,"value":395},"id\u003CMTLBuffer>",{"type":18,"value":397}," object underlying the\n",{"type":13,"tag":30,"props":399,"children":400},{"href":32},[401],{"type":18,"value":35},{"type":18,"value":403}," object in ",{"type":13,"tag":21,"props":405,"children":407},{"className":406},[],[408],{"type":18,"value":371},{"type":18,"value":410},".\nThe implementation will return the ",{"type":13,"tag":21,"props":412,"children":414},{"className":413},[],[415],{"type":18,"value":26},{"type":18,"value":417}," in this member, or it\nwill return ",{"type":13,"tag":21,"props":419,"children":421},{"className":420},[],[422],{"type":18,"value":360},{"type":18,"value":424}," if no ",{"type":13,"tag":21,"props":426,"children":428},{"className":427},[],[429],{"type":18,"value":26},{"type":18,"value":431}," could be found underlying the\n",{"type":13,"tag":30,"props":433,"children":434},{"href":32},[435],{"type":18,"value":35},{"type":18,"value":437}," object.",{"type":13,"tag":439,"props":440,"children":442},"validity-group",{"name":441},"Valid Usage (Implicit)",[443,471],{"type":13,"tag":444,"props":445,"children":447},"validity-field",{"name":446},"VUID-VkExportMetalBufferInfoEXT-sType-sType",[448],{"type":13,"tag":14,"props":449,"children":450},{},[451,456,458,463,465],{"type":13,"tag":21,"props":452,"children":454},{"className":453},[],[455],{"type":18,"value":334},{"type":18,"value":457}," ",{"type":13,"tag":459,"props":460,"children":462},"normative",{"type":461},"must",[],{"type":18,"value":464}," be ",{"type":13,"tag":21,"props":466,"children":468},{"className":467},[],[469],{"type":18,"value":470},"VK_STRUCTURE_TYPE_EXPORT_METAL_BUFFER_INFO_EXT",{"type":13,"tag":444,"props":472,"children":474},{"name":473},"VUID-VkExportMetalBufferInfoEXT-memory-parameter",[475],{"type":13,"tag":14,"props":476,"children":477},{},[478,483,484,487,489,493],{"type":13,"tag":21,"props":479,"children":481},{"className":480},[],[482],{"type":18,"value":371},{"type":18,"value":457},{"type":13,"tag":459,"props":485,"children":486},{"type":461},[],{"type":18,"value":488}," be a valid ",{"type":13,"tag":30,"props":490,"children":491},{"href":32},[492],{"type":18,"value":35},{"type":18,"value":494}," handle",{"type":13,"tag":496,"props":497,"children":498},"style",{},[499],{"type":18,"value":500},"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":502},[],"markdown",1729612446830]