[{"data":1,"prerenderedAt":417},["ShallowReactive",2],{"TkBbY5EzwB":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":416,"_id":4},"VkExternalFormatANDROID","Structure containing an Android hardware buffer external format","VK_ANDROID_external_memory_android_hardware_buffer","structs",[],{"type":10,"children":11,"toc":414},"root",[12,26,228,283,325,381,408],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,24],{"type":13,"tag":18,"props":19,"children":21},"code",{"className":20},[],[22],{"type":23,"value":4},"text",{"type":23,"value":25}," is defined as:",{"type":13,"tag":27,"props":28,"children":29},"code-group",{},[30,111],{"type":13,"tag":31,"props":32,"children":38},"pre",{"className":33,"code":34,"filename":35,"language":36,"meta":37,"style":37},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkExternalFormatANDROID {\n VkStructureType sType;\n void* pNext;\n uint64_t externalFormat;\n} VkExternalFormatANDROID;\n","C","c","",[39],{"type":13,"tag":18,"props":40,"children":41},{"__ignoreMap":37},[42,65,74,88,102],{"type":13,"tag":43,"props":44,"children":47},"span",{"class":45,"line":46},"line",1,[48,54,59],{"type":13,"tag":43,"props":49,"children":51},{"style":50},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[52],{"type":23,"value":53},"typedef",{"type":13,"tag":43,"props":55,"children":56},{"style":50},[57],{"type":23,"value":58}," struct",{"type":13,"tag":43,"props":60,"children":62},{"style":61},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[63],{"type":23,"value":64}," VkExternalFormatANDROID {\n",{"type":13,"tag":43,"props":66,"children":68},{"class":45,"line":67},2,[69],{"type":13,"tag":43,"props":70,"children":71},{"style":61},[72],{"type":23,"value":73}," VkStructureType sType;\n",{"type":13,"tag":43,"props":75,"children":77},{"class":45,"line":76},3,[78,83],{"type":13,"tag":43,"props":79,"children":80},{"style":50},[81],{"type":23,"value":82}," void*",{"type":13,"tag":43,"props":84,"children":85},{"style":61},[86],{"type":23,"value":87}," pNext;\n",{"type":13,"tag":43,"props":89,"children":91},{"class":45,"line":90},4,[92,97],{"type":13,"tag":43,"props":93,"children":94},{"style":50},[95],{"type":23,"value":96}," uint64_t",{"type":13,"tag":43,"props":98,"children":99},{"style":61},[100],{"type":23,"value":101}," externalFormat;\n",{"type":13,"tag":43,"props":103,"children":105},{"class":45,"line":104},5,[106],{"type":13,"tag":43,"props":107,"children":108},{"style":61},[109],{"type":23,"value":110},"} VkExternalFormatANDROID;\n",{"type":13,"tag":31,"props":112,"children":117},{"className":113,"code":114,"filename":115,"language":116,"meta":37,"style":37},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct ExternalFormatANDROID {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n external_format: u64,\n}\n","Rust","rs",[118],{"type":13,"tag":18,"props":119,"children":120},{"__ignoreMap":37},[121,144,177,199,220],{"type":13,"tag":43,"props":122,"children":123},{"class":45,"line":46},[124,129,133,139],{"type":13,"tag":43,"props":125,"children":126},{"style":50},[127],{"type":23,"value":128},"pub",{"type":13,"tag":43,"props":130,"children":131},{"style":50},[132],{"type":23,"value":58},{"type":13,"tag":43,"props":134,"children":136},{"style":135},"--shiki-default:#953800;--shiki-dark:#FFA657",[137],{"type":23,"value":138}," ExternalFormatANDROID",{"type":13,"tag":43,"props":140,"children":141},{"style":61},[142],{"type":23,"value":143}," {\n",{"type":13,"tag":43,"props":145,"children":146},{"class":45,"line":67},[147,152,157,162,167,172],{"type":13,"tag":43,"props":148,"children":149},{"style":61},[150],{"type":23,"value":151}," s_type",{"type":13,"tag":43,"props":153,"children":154},{"style":50},[155],{"type":23,"value":156},":",{"type":13,"tag":43,"props":158,"children":159},{"style":135},[160],{"type":23,"value":161}," vk",{"type":13,"tag":43,"props":163,"children":164},{"style":50},[165],{"type":23,"value":166},"::",{"type":13,"tag":43,"props":168,"children":169},{"style":135},[170],{"type":23,"value":171},"StructureType",{"type":13,"tag":43,"props":173,"children":174},{"style":61},[175],{"type":23,"value":176},",\n",{"type":13,"tag":43,"props":178,"children":179},{"class":45,"line":76},[180,185,189,194],{"type":13,"tag":43,"props":181,"children":182},{"style":61},[183],{"type":23,"value":184}," p_next",{"type":13,"tag":43,"props":186,"children":187},{"style":50},[188],{"type":23,"value":156},{"type":13,"tag":43,"props":190,"children":191},{"style":50},[192],{"type":23,"value":193}," *mut",{"type":13,"tag":43,"props":195,"children":196},{"style":61},[197],{"type":23,"value":198}," c_void,\n",{"type":13,"tag":43,"props":200,"children":201},{"class":45,"line":90},[202,207,211,216],{"type":13,"tag":43,"props":203,"children":204},{"style":61},[205],{"type":23,"value":206}," external_format",{"type":13,"tag":43,"props":208,"children":209},{"style":50},[210],{"type":23,"value":156},{"type":13,"tag":43,"props":212,"children":213},{"style":135},[214],{"type":23,"value":215}," u64",{"type":13,"tag":43,"props":217,"children":218},{"style":61},[219],{"type":23,"value":176},{"type":13,"tag":43,"props":221,"children":222},{"class":45,"line":104},[223],{"type":13,"tag":43,"props":224,"children":225},{"style":61},[226],{"type":23,"value":227},"}\n",{"type":13,"tag":229,"props":230,"children":231},"ul",{},[232,253,272],{"type":13,"tag":233,"props":234,"children":235},"li",{},[236,242,244,251],{"type":13,"tag":18,"props":237,"children":239},{"className":238},[],[240],{"type":23,"value":241},"sType",{"type":23,"value":243}," is a ",{"type":13,"tag":245,"props":246,"children":248},"a",{"href":247},"/man/VkStructureType",[249],{"type":23,"value":250},"VkStructureType",{"type":23,"value":252}," value identifying this structure.",{"type":13,"tag":233,"props":254,"children":255},{},[256,262,264,270],{"type":13,"tag":18,"props":257,"children":259},{"className":258},[],[260],{"type":23,"value":261},"pNext",{"type":23,"value":263}," is ",{"type":13,"tag":18,"props":265,"children":267},{"className":266},[],[268],{"type":23,"value":269},"NULL",{"type":23,"value":271}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":233,"props":273,"children":274},{},[275,281],{"type":13,"tag":18,"props":276,"children":278},{"className":277},[],[279],{"type":23,"value":280},"externalFormat",{"type":23,"value":282}," is an implementation-defined identifier for the\nexternal format",{"type":13,"tag":14,"props":284,"children":285},{},[286,288,293,295,301,303,309,311,316,318,323],{"type":23,"value":287},"When included in the ",{"type":13,"tag":18,"props":289,"children":291},{"className":290},[],[292],{"type":23,"value":261},{"type":23,"value":294}," chain of another structure, it indicates\n",{"type":13,"tag":245,"props":296,"children":298},{"href":297},"/chapters/memory#memory-external-android-hardware-buffer-external-formats",[299],{"type":23,"value":300},"additional\nformat information",{"type":23,"value":302}," beyond what is provided by ",{"type":13,"tag":18,"props":304,"children":306},{"className":305},[],[307],{"type":23,"value":308},"VkFormat",{"type":23,"value":310}," values for an\nAndroid hardware buffer.\nIf ",{"type":13,"tag":18,"props":312,"children":314},{"className":313},[],[315],{"type":23,"value":280},{"type":23,"value":317}," is zero, it indicates that no external format is\nused, and implementations should rely only on other format information.\nIf this structure is not present, it is equivalent to setting\n",{"type":13,"tag":18,"props":319,"children":321},{"className":320},[],[322],{"type":23,"value":280},{"type":23,"value":324}," to zero.",{"type":13,"tag":326,"props":327,"children":329},"validity-group",{"name":328},"Valid Usage",[330],{"type":13,"tag":331,"props":332,"children":334},"validity-field",{"name":333},"VUID-VkExternalFormatANDROID-externalFormat-01894",[335],{"type":13,"tag":14,"props":336,"children":337},{},[338,343,345,350,352,358,360,365,367,373,375],{"type":13,"tag":18,"props":339,"children":341},{"className":340},[],[342],{"type":23,"value":280},{"type":23,"value":344}," ",{"type":13,"tag":346,"props":347,"children":349},"normative",{"type":348},"must",[],{"type":23,"value":351}," be ",{"type":13,"tag":18,"props":353,"children":355},{"className":354},[],[356],{"type":23,"value":357},"0",{"type":23,"value":359}," or a value returned in the\n",{"type":13,"tag":18,"props":361,"children":363},{"className":362},[],[364],{"type":23,"value":280},{"type":23,"value":366}," member of\n",{"type":13,"tag":245,"props":368,"children":370},{"href":369},"/man/VkAndroidHardwareBufferFormatPropertiesANDROID",[371],{"type":23,"value":372},"VkAndroidHardwareBufferFormatPropertiesANDROID",{"type":23,"value":374}," by an earlier call\nto ",{"type":13,"tag":245,"props":376,"children":378},{"href":377},"/man/vkGetAndroidHardwareBufferPropertiesANDROID",[379],{"type":23,"value":380},"vkGetAndroidHardwareBufferPropertiesANDROID",{"type":13,"tag":326,"props":382,"children":384},{"name":383},"Valid Usage (Implicit)",[385],{"type":13,"tag":331,"props":386,"children":388},{"name":387},"VUID-VkExternalFormatANDROID-sType-sType",[389],{"type":13,"tag":14,"props":390,"children":391},{},[392,397,398,401,402],{"type":13,"tag":18,"props":393,"children":395},{"className":394},[],[396],{"type":23,"value":241},{"type":23,"value":344},{"type":13,"tag":346,"props":399,"children":400},{"type":348},[],{"type":23,"value":351},{"type":13,"tag":18,"props":403,"children":405},{"className":404},[],[406],{"type":23,"value":407},"VK_STRUCTURE_TYPE_EXTERNAL_FORMAT_ANDROID",{"type":13,"tag":409,"props":410,"children":411},"style",{},[412],{"type":23,"value":413},"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":37,"searchDepth":67,"depth":67,"links":415},[],"markdown",1725732552486]