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