[{"data":1,"prerenderedAt":353},["ShallowReactive",2],{"$fFsMzKwSILiZBPEPshB59PLqZ93vY2ikbPtfabKP36wY":3},{"title":4,"description":5,"parent":6,"structextends":7,"type":13,"xrefs":14,"body":15,"_type":352,"_id":4},"VkExternalFormatOHOS","Structure containing an Open Harmony OS hardware buffer external format","VK_OHOS_external_memory",[8,9,10,11,12],"VkImageCreateInfo","VkSamplerYcbcrConversionCreateInfo","VkAttachmentDescription2","VkGraphicsPipelineCreateInfo","VkCommandBufferInheritanceInfo","structs",[],{"type":16,"children":17,"toc":350},"root",[18,34,236,291,311,344],{"type":19,"tag":20,"props":21,"children":22},"element","p",{},[23,26,32],{"type":24,"value":25},"text","The ",{"type":19,"tag":27,"props":28,"children":30},"code",{"className":29},[],[31],{"type":24,"value":4},{"type":24,"value":33}," structure is defined as:",{"type":19,"tag":35,"props":36,"children":37},"code-group",{},[38,119],{"type":19,"tag":39,"props":40,"children":46},"pre",{"className":41,"code":42,"filename":43,"language":44,"meta":45,"style":45},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkExternalFormatOHOS {\n VkStructureType sType;\n void* pNext;\n uint64_t externalFormat;\n} VkExternalFormatOHOS;\n","C","c","",[47],{"type":19,"tag":27,"props":48,"children":49},{"__ignoreMap":45},[50,73,82,96,110],{"type":19,"tag":51,"props":52,"children":55},"span",{"class":53,"line":54},"line",1,[56,62,67],{"type":19,"tag":51,"props":57,"children":59},{"style":58},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[60],{"type":24,"value":61},"typedef",{"type":19,"tag":51,"props":63,"children":64},{"style":58},[65],{"type":24,"value":66}," struct",{"type":19,"tag":51,"props":68,"children":70},{"style":69},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[71],{"type":24,"value":72}," VkExternalFormatOHOS {\n",{"type":19,"tag":51,"props":74,"children":76},{"class":53,"line":75},2,[77],{"type":19,"tag":51,"props":78,"children":79},{"style":69},[80],{"type":24,"value":81}," VkStructureType sType;\n",{"type":19,"tag":51,"props":83,"children":85},{"class":53,"line":84},3,[86,91],{"type":19,"tag":51,"props":87,"children":88},{"style":58},[89],{"type":24,"value":90}," void*",{"type":19,"tag":51,"props":92,"children":93},{"style":69},[94],{"type":24,"value":95}," pNext;\n",{"type":19,"tag":51,"props":97,"children":99},{"class":53,"line":98},4,[100,105],{"type":19,"tag":51,"props":101,"children":102},{"style":58},[103],{"type":24,"value":104}," uint64_t",{"type":19,"tag":51,"props":106,"children":107},{"style":69},[108],{"type":24,"value":109}," externalFormat;\n",{"type":19,"tag":51,"props":111,"children":113},{"class":53,"line":112},5,[114],{"type":19,"tag":51,"props":115,"children":116},{"style":69},[117],{"type":24,"value":118},"} VkExternalFormatOHOS;\n",{"type":19,"tag":39,"props":120,"children":125},{"className":121,"code":122,"filename":123,"language":124,"meta":45,"style":45},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct ExternalFormatOHOS {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n external_format: u64,\n}\n","Rust","rs",[126],{"type":19,"tag":27,"props":127,"children":128},{"__ignoreMap":45},[129,152,185,207,228],{"type":19,"tag":51,"props":130,"children":131},{"class":53,"line":54},[132,137,141,147],{"type":19,"tag":51,"props":133,"children":134},{"style":58},[135],{"type":24,"value":136},"pub",{"type":19,"tag":51,"props":138,"children":139},{"style":58},[140],{"type":24,"value":66},{"type":19,"tag":51,"props":142,"children":144},{"style":143},"--shiki-default:#953800;--shiki-dark:#FFA657",[145],{"type":24,"value":146}," ExternalFormatOHOS",{"type":19,"tag":51,"props":148,"children":149},{"style":69},[150],{"type":24,"value":151}," {\n",{"type":19,"tag":51,"props":153,"children":154},{"class":53,"line":75},[155,160,165,170,175,180],{"type":19,"tag":51,"props":156,"children":157},{"style":69},[158],{"type":24,"value":159}," s_type",{"type":19,"tag":51,"props":161,"children":162},{"style":58},[163],{"type":24,"value":164},":",{"type":19,"tag":51,"props":166,"children":167},{"style":143},[168],{"type":24,"value":169}," vk",{"type":19,"tag":51,"props":171,"children":172},{"style":58},[173],{"type":24,"value":174},"::",{"type":19,"tag":51,"props":176,"children":177},{"style":143},[178],{"type":24,"value":179},"StructureType",{"type":19,"tag":51,"props":181,"children":182},{"style":69},[183],{"type":24,"value":184},",\n",{"type":19,"tag":51,"props":186,"children":187},{"class":53,"line":84},[188,193,197,202],{"type":19,"tag":51,"props":189,"children":190},{"style":69},[191],{"type":24,"value":192}," p_next",{"type":19,"tag":51,"props":194,"children":195},{"style":58},[196],{"type":24,"value":164},{"type":19,"tag":51,"props":198,"children":199},{"style":58},[200],{"type":24,"value":201}," *mut",{"type":19,"tag":51,"props":203,"children":204},{"style":69},[205],{"type":24,"value":206}," c_void,\n",{"type":19,"tag":51,"props":208,"children":209},{"class":53,"line":98},[210,215,219,224],{"type":19,"tag":51,"props":211,"children":212},{"style":69},[213],{"type":24,"value":214}," external_format",{"type":19,"tag":51,"props":216,"children":217},{"style":58},[218],{"type":24,"value":164},{"type":19,"tag":51,"props":220,"children":221},{"style":143},[222],{"type":24,"value":223}," u64",{"type":19,"tag":51,"props":225,"children":226},{"style":69},[227],{"type":24,"value":184},{"type":19,"tag":51,"props":229,"children":230},{"class":53,"line":112},[231],{"type":19,"tag":51,"props":232,"children":233},{"style":69},[234],{"type":24,"value":235},"}\n",{"type":19,"tag":237,"props":238,"children":239},"ul",{},[240,261,280],{"type":19,"tag":241,"props":242,"children":243},"li",{},[244,250,252,259],{"type":19,"tag":27,"props":245,"children":247},{"className":246},[],[248],{"type":24,"value":249},"sType",{"type":24,"value":251}," is a ",{"type":19,"tag":253,"props":254,"children":256},"a",{"href":255},"/man/VkStructureType",[257],{"type":24,"value":258},"VkStructureType",{"type":24,"value":260}," value identifying this structure.",{"type":19,"tag":241,"props":262,"children":263},{},[264,270,272,278],{"type":19,"tag":27,"props":265,"children":267},{"className":266},[],[268],{"type":24,"value":269},"pNext",{"type":24,"value":271}," is ",{"type":19,"tag":27,"props":273,"children":275},{"className":274},[],[276],{"type":24,"value":277},"NULL",{"type":24,"value":279}," or a pointer to a structure extending this\nstructure.",{"type":19,"tag":241,"props":281,"children":282},{},[283,289],{"type":19,"tag":27,"props":284,"children":286},{"className":285},[],[287],{"type":24,"value":288},"externalFormat",{"type":24,"value":290}," is an implementation-defined identifier for the\nexternal format.",{"type":19,"tag":20,"props":292,"children":293},{},[294,296,302,304,309],{"type":24,"value":295},"To obtain additional format that are not provided by ",{"type":19,"tag":27,"props":297,"children":299},{"className":298},[],[300],{"type":24,"value":301},"VkFormat",{"type":24,"value":303}," for an\nOpen Harmony OS hardware buffer, this structure should be included in the\npNext chain of another structure.\nThe return value of ",{"type":19,"tag":27,"props":305,"children":307},{"className":306},[],[308],{"type":24,"value":288},{"type":24,"value":310}," indicates whether an additional\nformat exists.\nIf zero is returned, then no external format is used and other format\ninformation should be used for implementations, and this is also true if\nthis structure is not present.",{"type":19,"tag":312,"props":313,"children":315},"validity-group",{"name":314},"Valid Usage (Implicit)",[316],{"type":19,"tag":317,"props":318,"children":320},"validity-field",{"name":319},"VUID-VkExternalFormatOHOS-sType-sType",[321],{"type":19,"tag":20,"props":322,"children":323},{},[324,329,331,336,338],{"type":19,"tag":27,"props":325,"children":327},{"className":326},[],[328],{"type":24,"value":249},{"type":24,"value":330}," ",{"type":19,"tag":332,"props":333,"children":335},"normative",{"type":334},"must",[],{"type":24,"value":337}," be ",{"type":19,"tag":27,"props":339,"children":341},{"className":340},[],[342],{"type":24,"value":343},"VK_STRUCTURE_TYPE_EXTERNAL_FORMAT_OHOS",{"type":19,"tag":345,"props":346,"children":347},"style",{},[348],{"type":24,"value":349},"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":45,"searchDepth":75,"depth":75,"links":351},[],"markdown",1773165426863]