[{"data":1,"prerenderedAt":464},["ShallowReactive",2],{"doUxdq2OcD":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":463,"_id":4},"vkGetMemoryZirconHandleFUCHSIA","Get a Zircon handle for an external memory object","VK_FUCHSIA_external_memory","protos",[],{"type":10,"children":11,"toc":461},"root",[12,29,312,373,455],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27],{"type":18,"value":19},"text","To export device memory as a Zircon handle that can be used by another\ninstance, device, or process, retrieve the handle to the\n",{"type":13,"tag":21,"props":22,"children":24},"a",{"href":23},"/man/VkDeviceMemory",[25],{"type":18,"value":26},"VkDeviceMemory",{"type":18,"value":28}," using the command:",{"type":13,"tag":30,"props":31,"children":32},"code-group",{},[33,141],{"type":13,"tag":34,"props":35,"children":41},"pre",{"className":36,"code":37,"filename":38,"language":39,"meta":40,"style":40},"language-c shiki shiki-themes github-light-default github-dark-default","VkResult vkGetMemoryZirconHandleFUCHSIA(\n VkDevice device,\n const VkMemoryGetZirconHandleInfoFUCHSIA* pGetZirconHandleInfo,\n zx_handle_t* pZirconHandle);\n","C","c","",[42],{"type":13,"tag":43,"props":44,"children":45},"code",{"__ignoreMap":40},[46,68,88,117],{"type":13,"tag":47,"props":48,"children":51},"span",{"class":49,"line":50},"line",1,[52,58,63],{"type":13,"tag":47,"props":53,"children":55},{"style":54},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[56],{"type":18,"value":57},"VkResult ",{"type":13,"tag":47,"props":59,"children":61},{"style":60},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[62],{"type":18,"value":4},{"type":13,"tag":47,"props":64,"children":65},{"style":54},[66],{"type":18,"value":67},"(\n",{"type":13,"tag":47,"props":69,"children":71},{"class":49,"line":70},2,[72,77,83],{"type":13,"tag":47,"props":73,"children":74},{"style":54},[75],{"type":18,"value":76}," VkDevice ",{"type":13,"tag":47,"props":78,"children":80},{"style":79},"--shiki-default:#953800;--shiki-dark:#FFA657",[81],{"type":18,"value":82},"device",{"type":13,"tag":47,"props":84,"children":85},{"style":54},[86],{"type":18,"value":87},",\n",{"type":13,"tag":47,"props":89,"children":91},{"class":49,"line":90},3,[92,98,103,108,113],{"type":13,"tag":47,"props":93,"children":95},{"style":94},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[96],{"type":18,"value":97}," const",{"type":13,"tag":47,"props":99,"children":100},{"style":54},[101],{"type":18,"value":102}," VkMemoryGetZirconHandleInfoFUCHSIA",{"type":13,"tag":47,"props":104,"children":105},{"style":94},[106],{"type":18,"value":107},"*",{"type":13,"tag":47,"props":109,"children":110},{"style":79},[111],{"type":18,"value":112}," pGetZirconHandleInfo",{"type":13,"tag":47,"props":114,"children":115},{"style":54},[116],{"type":18,"value":87},{"type":13,"tag":47,"props":118,"children":120},{"class":49,"line":119},4,[121,127,131,136],{"type":13,"tag":47,"props":122,"children":124},{"style":123},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[125],{"type":18,"value":126}," zx_handle_t",{"type":13,"tag":47,"props":128,"children":129},{"style":94},[130],{"type":18,"value":107},{"type":13,"tag":47,"props":132,"children":133},{"style":79},[134],{"type":18,"value":135}," pZirconHandle",{"type":13,"tag":47,"props":137,"children":138},{"style":54},[139],{"type":18,"value":140},");\n",{"type":13,"tag":34,"props":142,"children":147},{"className":143,"code":144,"filename":145,"language":146,"meta":40,"style":40},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn get_memory_zircon_handle_fuchsia(\n device: crate :: vk :: vk::Device,\n p_get_zircon_handle_info: *const vk::MemoryGetZirconHandleInfoFUCHSIA,\n p_zircon_handle: *mut zx_handle_t,\n) -> vk::Result;\n","Rust","rs",[148],{"type":13,"tag":43,"props":149,"children":150},{"__ignoreMap":40},[151,173,224,258,280],{"type":13,"tag":47,"props":152,"children":153},{"class":49,"line":50},[154,159,164,169],{"type":13,"tag":47,"props":155,"children":156},{"style":94},[157],{"type":18,"value":158},"pub",{"type":13,"tag":47,"props":160,"children":161},{"style":94},[162],{"type":18,"value":163}," fn",{"type":13,"tag":47,"props":165,"children":166},{"style":60},[167],{"type":18,"value":168}," get_memory_zircon_handle_fuchsia",{"type":13,"tag":47,"props":170,"children":171},{"style":54},[172],{"type":18,"value":67},{"type":13,"tag":47,"props":174,"children":175},{"class":49,"line":70},[176,181,186,191,196,201,206,211,215,220],{"type":13,"tag":47,"props":177,"children":178},{"style":54},[179],{"type":18,"value":180}," device",{"type":13,"tag":47,"props":182,"children":183},{"style":94},[184],{"type":18,"value":185},":",{"type":13,"tag":47,"props":187,"children":188},{"style":94},[189],{"type":18,"value":190}," crate",{"type":13,"tag":47,"props":192,"children":193},{"style":94},[194],{"type":18,"value":195}," ::",{"type":13,"tag":47,"props":197,"children":198},{"style":54},[199],{"type":18,"value":200}," vk ",{"type":13,"tag":47,"props":202,"children":203},{"style":94},[204],{"type":18,"value":205},"::",{"type":13,"tag":47,"props":207,"children":208},{"style":79},[209],{"type":18,"value":210}," vk",{"type":13,"tag":47,"props":212,"children":213},{"style":94},[214],{"type":18,"value":205},{"type":13,"tag":47,"props":216,"children":217},{"style":79},[218],{"type":18,"value":219},"Device",{"type":13,"tag":47,"props":221,"children":222},{"style":54},[223],{"type":18,"value":87},{"type":13,"tag":47,"props":225,"children":226},{"class":49,"line":90},[227,232,236,241,245,249,254],{"type":13,"tag":47,"props":228,"children":229},{"style":54},[230],{"type":18,"value":231}," p_get_zircon_handle_info",{"type":13,"tag":47,"props":233,"children":234},{"style":94},[235],{"type":18,"value":185},{"type":13,"tag":47,"props":237,"children":238},{"style":94},[239],{"type":18,"value":240}," *const",{"type":13,"tag":47,"props":242,"children":243},{"style":79},[244],{"type":18,"value":210},{"type":13,"tag":47,"props":246,"children":247},{"style":94},[248],{"type":18,"value":205},{"type":13,"tag":47,"props":250,"children":251},{"style":79},[252],{"type":18,"value":253},"MemoryGetZirconHandleInfoFUCHSIA",{"type":13,"tag":47,"props":255,"children":256},{"style":54},[257],{"type":18,"value":87},{"type":13,"tag":47,"props":259,"children":260},{"class":49,"line":119},[261,266,270,275],{"type":13,"tag":47,"props":262,"children":263},{"style":54},[264],{"type":18,"value":265}," p_zircon_handle",{"type":13,"tag":47,"props":267,"children":268},{"style":94},[269],{"type":18,"value":185},{"type":13,"tag":47,"props":271,"children":272},{"style":94},[273],{"type":18,"value":274}," *mut",{"type":13,"tag":47,"props":276,"children":277},{"style":54},[278],{"type":18,"value":279}," zx_handle_t,\n",{"type":13,"tag":47,"props":281,"children":283},{"class":49,"line":282},5,[284,289,294,298,302,307],{"type":13,"tag":47,"props":285,"children":286},{"style":54},[287],{"type":18,"value":288},") ",{"type":13,"tag":47,"props":290,"children":291},{"style":94},[292],{"type":18,"value":293},"->",{"type":13,"tag":47,"props":295,"children":296},{"style":79},[297],{"type":18,"value":210},{"type":13,"tag":47,"props":299,"children":300},{"style":94},[301],{"type":18,"value":205},{"type":13,"tag":47,"props":303,"children":304},{"style":79},[305],{"type":18,"value":306},"Result",{"type":13,"tag":47,"props":308,"children":309},{"style":54},[310],{"type":18,"value":311},";\n",{"type":13,"tag":313,"props":314,"children":315},"ul",{},[316,335,354],{"type":13,"tag":317,"props":318,"children":319},"li",{},[320,325,327,333],{"type":13,"tag":43,"props":321,"children":323},{"className":322},[],[324],{"type":18,"value":82},{"type":18,"value":326}," is the ",{"type":13,"tag":21,"props":328,"children":330},{"href":329},"/man/VkDevice",[331],{"type":18,"value":332},"VkDevice",{"type":18,"value":334},".",{"type":13,"tag":317,"props":336,"children":337},{},[338,344,346,352],{"type":13,"tag":43,"props":339,"children":341},{"className":340},[],[342],{"type":18,"value":343},"pGetZirconHandleInfo",{"type":18,"value":345}," is a pointer to a\n",{"type":13,"tag":21,"props":347,"children":349},{"href":348},"/man/VkMemoryGetZirconHandleInfoFUCHSIA",[350],{"type":18,"value":351},"VkMemoryGetZirconHandleInfoFUCHSIA",{"type":18,"value":353}," structure.",{"type":13,"tag":317,"props":355,"children":356},{},[357,363,365,371],{"type":13,"tag":43,"props":358,"children":360},{"className":359},[],[361],{"type":18,"value":362},"pZirconHandle",{"type":18,"value":364}," is a pointer to a ",{"type":13,"tag":43,"props":366,"children":368},{"className":367},[],[369],{"type":18,"value":370},"zx_handle_t",{"type":18,"value":372}," which holds the\nresulting Zircon handle.",{"type":13,"tag":374,"props":375,"children":377},"validity-group",{"name":376},"Valid Usage (Implicit)",[378,406,430],{"type":13,"tag":379,"props":380,"children":382},"validity-field",{"name":381},"VUID-vkGetMemoryZirconHandleFUCHSIA-device-parameter",[383],{"type":13,"tag":14,"props":384,"children":385},{},[386,391,393,398,400,404],{"type":13,"tag":43,"props":387,"children":389},{"className":388},[],[390],{"type":18,"value":82},{"type":18,"value":392}," ",{"type":13,"tag":394,"props":395,"children":397},"normative",{"type":396},"must",[],{"type":18,"value":399}," be a valid ",{"type":13,"tag":21,"props":401,"children":402},{"href":329},[403],{"type":18,"value":332},{"type":18,"value":405}," handle",{"type":13,"tag":379,"props":407,"children":409},{"name":408},"VUID-vkGetMemoryZirconHandleFUCHSIA-pGetZirconHandleInfo-parameter",[410],{"type":13,"tag":14,"props":411,"children":412},{},[413,418,419,422,424,428],{"type":13,"tag":43,"props":414,"children":416},{"className":415},[],[417],{"type":18,"value":343},{"type":18,"value":392},{"type":13,"tag":394,"props":420,"children":421},{"type":396},[],{"type":18,"value":423}," be a valid pointer to a valid ",{"type":13,"tag":21,"props":425,"children":426},{"href":348},[427],{"type":18,"value":351},{"type":18,"value":429}," structure",{"type":13,"tag":379,"props":431,"children":433},{"name":432},"VUID-vkGetMemoryZirconHandleFUCHSIA-pZirconHandle-parameter",[434],{"type":13,"tag":14,"props":435,"children":436},{},[437,442,443,446,448,453],{"type":13,"tag":43,"props":438,"children":440},{"className":439},[],[441],{"type":18,"value":362},{"type":18,"value":392},{"type":13,"tag":394,"props":444,"children":445},{"type":396},[],{"type":18,"value":447}," be a valid pointer to a ",{"type":13,"tag":43,"props":449,"children":451},{"className":450},[],[452],{"type":18,"value":370},{"type":18,"value":454}," value",{"type":13,"tag":456,"props":457,"children":458},"style",{},[459],{"type":18,"value":460},"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":40,"searchDepth":70,"depth":70,"links":462},[],"markdown",1725732619204]