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