[{"data":1,"prerenderedAt":474},["ShallowReactive",2],{"FOdzxKsqGh":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":473,"_id":4},"VkAndroidSurfaceCreateInfoKHR","Structure specifying parameters of a newly created Android surface object","VK_KHR_android_surface","structs",[],{"type":10,"children":11,"toc":471},"root",[12,28,287,361,392,465],{"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,137],{"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 VkAndroidSurfaceCreateInfoKHR {\n VkStructureType sType;\n const void* pNext;\n VkAndroidSurfaceCreateFlagsKHR flags;\n struct ANativeWindow* window;\n} VkAndroidSurfaceCreateInfoKHR;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,95,104,128],{"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}," VkAndroidSurfaceCreateInfoKHR {\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}," VkAndroidSurfaceCreateFlagsKHR flags;\n",{"type":13,"tag":45,"props":105,"children":107},{"class":47,"line":106},5,[108,113,118,123],{"type":13,"tag":45,"props":109,"children":110},{"style":52},[111],{"type":18,"value":112}," struct",{"type":13,"tag":45,"props":114,"children":115},{"style":63},[116],{"type":18,"value":117}," ANativeWindow",{"type":13,"tag":45,"props":119,"children":120},{"style":52},[121],{"type":18,"value":122},"*",{"type":13,"tag":45,"props":124,"children":125},{"style":63},[126],{"type":18,"value":127}," window;\n",{"type":13,"tag":45,"props":129,"children":131},{"class":47,"line":130},6,[132],{"type":13,"tag":45,"props":133,"children":134},{"style":63},[135],{"type":18,"value":136},"} VkAndroidSurfaceCreateInfoKHR;\n",{"type":13,"tag":33,"props":138,"children":143},{"className":139,"code":140,"filename":141,"language":142,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct AndroidSurfaceCreateInfoKHR {\n s_type: vk::StructureType,\n p_next: *const c_void,\n flags: vk::AndroidSurfaceCreateFlagsKHR,\n window: *mut ANativeWindow,\n}\n","Rust","rs",[144],{"type":13,"tag":21,"props":145,"children":146},{"__ignoreMap":39},[147,170,203,225,254,279],{"type":13,"tag":45,"props":148,"children":149},{"class":47,"line":48},[150,155,159,165],{"type":13,"tag":45,"props":151,"children":152},{"style":52},[153],{"type":18,"value":154},"pub",{"type":13,"tag":45,"props":156,"children":157},{"style":52},[158],{"type":18,"value":60},{"type":13,"tag":45,"props":160,"children":162},{"style":161},"--shiki-default:#953800;--shiki-dark:#FFA657",[163],{"type":18,"value":164}," AndroidSurfaceCreateInfoKHR",{"type":13,"tag":45,"props":166,"children":167},{"style":63},[168],{"type":18,"value":169}," {\n",{"type":13,"tag":45,"props":171,"children":172},{"class":47,"line":69},[173,178,183,188,193,198],{"type":13,"tag":45,"props":174,"children":175},{"style":63},[176],{"type":18,"value":177}," s_type",{"type":13,"tag":45,"props":179,"children":180},{"style":52},[181],{"type":18,"value":182},":",{"type":13,"tag":45,"props":184,"children":185},{"style":161},[186],{"type":18,"value":187}," vk",{"type":13,"tag":45,"props":189,"children":190},{"style":52},[191],{"type":18,"value":192},"::",{"type":13,"tag":45,"props":194,"children":195},{"style":161},[196],{"type":18,"value":197},"StructureType",{"type":13,"tag":45,"props":199,"children":200},{"style":63},[201],{"type":18,"value":202},",\n",{"type":13,"tag":45,"props":204,"children":205},{"class":47,"line":78},[206,211,215,220],{"type":13,"tag":45,"props":207,"children":208},{"style":63},[209],{"type":18,"value":210}," p_next",{"type":13,"tag":45,"props":212,"children":213},{"style":52},[214],{"type":18,"value":182},{"type":13,"tag":45,"props":216,"children":217},{"style":52},[218],{"type":18,"value":219}," *const",{"type":13,"tag":45,"props":221,"children":222},{"style":63},[223],{"type":18,"value":224}," c_void,\n",{"type":13,"tag":45,"props":226,"children":227},{"class":47,"line":97},[228,233,237,241,245,250],{"type":13,"tag":45,"props":229,"children":230},{"style":63},[231],{"type":18,"value":232}," flags",{"type":13,"tag":45,"props":234,"children":235},{"style":52},[236],{"type":18,"value":182},{"type":13,"tag":45,"props":238,"children":239},{"style":161},[240],{"type":18,"value":187},{"type":13,"tag":45,"props":242,"children":243},{"style":52},[244],{"type":18,"value":192},{"type":13,"tag":45,"props":246,"children":247},{"style":161},[248],{"type":18,"value":249},"AndroidSurfaceCreateFlagsKHR",{"type":13,"tag":45,"props":251,"children":252},{"style":63},[253],{"type":18,"value":202},{"type":13,"tag":45,"props":255,"children":256},{"class":47,"line":106},[257,262,266,271,275],{"type":13,"tag":45,"props":258,"children":259},{"style":63},[260],{"type":18,"value":261}," window",{"type":13,"tag":45,"props":263,"children":264},{"style":52},[265],{"type":18,"value":182},{"type":13,"tag":45,"props":267,"children":268},{"style":52},[269],{"type":18,"value":270}," *mut",{"type":13,"tag":45,"props":272,"children":273},{"style":161},[274],{"type":18,"value":117},{"type":13,"tag":45,"props":276,"children":277},{"style":63},[278],{"type":18,"value":202},{"type":13,"tag":45,"props":280,"children":281},{"class":47,"line":130},[282],{"type":13,"tag":45,"props":283,"children":284},{"style":63},[285],{"type":18,"value":286},"}\n",{"type":13,"tag":288,"props":289,"children":290},"ul",{},[291,312,331,342],{"type":13,"tag":292,"props":293,"children":294},"li",{},[295,301,303,310],{"type":13,"tag":21,"props":296,"children":298},{"className":297},[],[299],{"type":18,"value":300},"sType",{"type":18,"value":302}," is a ",{"type":13,"tag":304,"props":305,"children":307},"a",{"href":306},"/man/VkStructureType",[308],{"type":18,"value":309},"VkStructureType",{"type":18,"value":311}," value identifying this structure.",{"type":13,"tag":292,"props":313,"children":314},{},[315,321,323,329],{"type":13,"tag":21,"props":316,"children":318},{"className":317},[],[319],{"type":18,"value":320},"pNext",{"type":18,"value":322}," is ",{"type":13,"tag":21,"props":324,"children":326},{"className":325},[],[327],{"type":18,"value":328},"NULL",{"type":18,"value":330}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":292,"props":332,"children":333},{},[334,340],{"type":13,"tag":21,"props":335,"children":337},{"className":336},[],[338],{"type":18,"value":339},"flags",{"type":18,"value":341}," is reserved for future use.",{"type":13,"tag":292,"props":343,"children":344},{},[345,351,353,359],{"type":13,"tag":21,"props":346,"children":348},{"className":347},[],[349],{"type":18,"value":350},"window",{"type":18,"value":352}," is a pointer to the ",{"type":13,"tag":304,"props":354,"children":356},{"href":355},"/man/ANativeWindow",[357],{"type":18,"value":358},"ANativeWindow",{"type":18,"value":360}," to associate the\nsurface with.",{"type":13,"tag":362,"props":363,"children":365},"validity-group",{"name":364},"Valid Usage",[366],{"type":13,"tag":367,"props":368,"children":370},"validity-field",{"name":369},"VUID-VkAndroidSurfaceCreateInfoKHR-window-01248",[371],{"type":13,"tag":14,"props":372,"children":373},{},[374,379,381,386,388],{"type":13,"tag":21,"props":375,"children":377},{"className":376},[],[378],{"type":18,"value":350},{"type":18,"value":380}," ",{"type":13,"tag":382,"props":383,"children":385},"normative",{"type":384},"must",[],{"type":18,"value":387}," point to a valid Android ",{"type":13,"tag":304,"props":389,"children":390},{"href":355},[391],{"type":18,"value":358},{"type":13,"tag":362,"props":393,"children":395},{"name":394},"Valid Usage (Implicit)",[396,420,442],{"type":13,"tag":367,"props":397,"children":399},{"name":398},"VUID-VkAndroidSurfaceCreateInfoKHR-sType-sType",[400],{"type":13,"tag":14,"props":401,"children":402},{},[403,408,409,412,414],{"type":13,"tag":21,"props":404,"children":406},{"className":405},[],[407],{"type":18,"value":300},{"type":18,"value":380},{"type":13,"tag":382,"props":410,"children":411},{"type":384},[],{"type":18,"value":413}," be ",{"type":13,"tag":21,"props":415,"children":417},{"className":416},[],[418],{"type":18,"value":419},"VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR",{"type":13,"tag":367,"props":421,"children":423},{"name":422},"VUID-VkAndroidSurfaceCreateInfoKHR-pNext-pNext",[424],{"type":13,"tag":14,"props":425,"children":426},{},[427,432,433,436,437],{"type":13,"tag":21,"props":428,"children":430},{"className":429},[],[431],{"type":18,"value":320},{"type":18,"value":380},{"type":13,"tag":382,"props":434,"children":435},{"type":384},[],{"type":18,"value":413},{"type":13,"tag":21,"props":438,"children":440},{"className":439},[],[441],{"type":18,"value":328},{"type":13,"tag":367,"props":443,"children":445},{"name":444},"VUID-VkAndroidSurfaceCreateInfoKHR-flags-zerobitmask",[446],{"type":13,"tag":14,"props":447,"children":448},{},[449,454,455,458,459],{"type":13,"tag":21,"props":450,"children":452},{"className":451},[],[453],{"type":18,"value":339},{"type":18,"value":380},{"type":13,"tag":382,"props":456,"children":457},{"type":384},[],{"type":18,"value":413},{"type":13,"tag":21,"props":460,"children":462},{"className":461},[],[463],{"type":18,"value":464},"0",{"type":13,"tag":466,"props":467,"children":468},"style",{},[469],{"type":18,"value":470},"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":472},[],"markdown",1729612432923]