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