[{"data":1,"prerenderedAt":416},["ShallowReactive",2],{"$fgvC76EL0l3YCuAro6hTAnZnGLUMlPdXEli02yrItxuk":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":415,"_id":4},"VkPresentWait2InfoKHR","Structure describing parameters of a presentation wait","VK_KHR_present_wait2","structs",[],{"type":10,"children":11,"toc":413},"root",[12,28,268,353,407],{"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,131],{"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 VkPresentWait2InfoKHR {\n VkStructureType sType;\n const void* pNext;\n uint64_t presentId;\n uint64_t timeout;\n} VkPresentWait2InfoKHR;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,95,109,122],{"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}," VkPresentWait2InfoKHR {\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,104],{"type":13,"tag":45,"props":100,"children":101},{"style":52},[102],{"type":18,"value":103}," uint64_t",{"type":13,"tag":45,"props":105,"children":106},{"style":63},[107],{"type":18,"value":108}," presentId;\n",{"type":13,"tag":45,"props":110,"children":112},{"class":47,"line":111},5,[113,117],{"type":13,"tag":45,"props":114,"children":115},{"style":52},[116],{"type":18,"value":103},{"type":13,"tag":45,"props":118,"children":119},{"style":63},[120],{"type":18,"value":121}," timeout;\n",{"type":13,"tag":45,"props":123,"children":125},{"class":47,"line":124},6,[126],{"type":13,"tag":45,"props":127,"children":128},{"style":63},[129],{"type":18,"value":130},"} VkPresentWait2InfoKHR;\n",{"type":13,"tag":33,"props":132,"children":137},{"className":133,"code":134,"filename":135,"language":136,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PresentWait2InfoKHR {\n s_type: vk::StructureType,\n p_next: *const c_void,\n present_id: u64,\n timeout: u64,\n}\n","Rust","rs",[138],{"type":13,"tag":21,"props":139,"children":140},{"__ignoreMap":39},[141,164,197,219,240,260],{"type":13,"tag":45,"props":142,"children":143},{"class":47,"line":48},[144,149,153,159],{"type":13,"tag":45,"props":145,"children":146},{"style":52},[147],{"type":18,"value":148},"pub",{"type":13,"tag":45,"props":150,"children":151},{"style":52},[152],{"type":18,"value":60},{"type":13,"tag":45,"props":154,"children":156},{"style":155},"--shiki-default:#953800;--shiki-dark:#FFA657",[157],{"type":18,"value":158}," PresentWait2InfoKHR",{"type":13,"tag":45,"props":160,"children":161},{"style":63},[162],{"type":18,"value":163}," {\n",{"type":13,"tag":45,"props":165,"children":166},{"class":47,"line":69},[167,172,177,182,187,192],{"type":13,"tag":45,"props":168,"children":169},{"style":63},[170],{"type":18,"value":171}," s_type",{"type":13,"tag":45,"props":173,"children":174},{"style":52},[175],{"type":18,"value":176},":",{"type":13,"tag":45,"props":178,"children":179},{"style":155},[180],{"type":18,"value":181}," vk",{"type":13,"tag":45,"props":183,"children":184},{"style":52},[185],{"type":18,"value":186},"::",{"type":13,"tag":45,"props":188,"children":189},{"style":155},[190],{"type":18,"value":191},"StructureType",{"type":13,"tag":45,"props":193,"children":194},{"style":63},[195],{"type":18,"value":196},",\n",{"type":13,"tag":45,"props":198,"children":199},{"class":47,"line":78},[200,205,209,214],{"type":13,"tag":45,"props":201,"children":202},{"style":63},[203],{"type":18,"value":204}," p_next",{"type":13,"tag":45,"props":206,"children":207},{"style":52},[208],{"type":18,"value":176},{"type":13,"tag":45,"props":210,"children":211},{"style":52},[212],{"type":18,"value":213}," *const",{"type":13,"tag":45,"props":215,"children":216},{"style":63},[217],{"type":18,"value":218}," c_void,\n",{"type":13,"tag":45,"props":220,"children":221},{"class":47,"line":97},[222,227,231,236],{"type":13,"tag":45,"props":223,"children":224},{"style":63},[225],{"type":18,"value":226}," present_id",{"type":13,"tag":45,"props":228,"children":229},{"style":52},[230],{"type":18,"value":176},{"type":13,"tag":45,"props":232,"children":233},{"style":155},[234],{"type":18,"value":235}," u64",{"type":13,"tag":45,"props":237,"children":238},{"style":63},[239],{"type":18,"value":196},{"type":13,"tag":45,"props":241,"children":242},{"class":47,"line":111},[243,248,252,256],{"type":13,"tag":45,"props":244,"children":245},{"style":63},[246],{"type":18,"value":247}," timeout",{"type":13,"tag":45,"props":249,"children":250},{"style":52},[251],{"type":18,"value":176},{"type":13,"tag":45,"props":253,"children":254},{"style":155},[255],{"type":18,"value":235},{"type":13,"tag":45,"props":257,"children":258},{"style":63},[259],{"type":18,"value":196},{"type":13,"tag":45,"props":261,"children":262},{"class":47,"line":124},[263],{"type":13,"tag":45,"props":264,"children":265},{"style":63},[266],{"type":18,"value":267},"}\n",{"type":13,"tag":269,"props":270,"children":271},"ul",{},[272,293,312,323],{"type":13,"tag":273,"props":274,"children":275},"li",{},[276,282,284,291],{"type":13,"tag":21,"props":277,"children":279},{"className":278},[],[280],{"type":18,"value":281},"sType",{"type":18,"value":283}," is a ",{"type":13,"tag":285,"props":286,"children":288},"a",{"href":287},"/man/VkStructureType",[289],{"type":18,"value":290},"VkStructureType",{"type":18,"value":292}," value identifying this structure.",{"type":13,"tag":273,"props":294,"children":295},{},[296,302,304,310],{"type":13,"tag":21,"props":297,"children":299},{"className":298},[],[300],{"type":18,"value":301},"pNext",{"type":18,"value":303}," is ",{"type":13,"tag":21,"props":305,"children":307},{"className":306},[],[308],{"type":18,"value":309},"NULL",{"type":18,"value":311}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":273,"props":313,"children":314},{},[315,321],{"type":13,"tag":21,"props":316,"children":318},{"className":317},[],[319],{"type":18,"value":320},"presentId",{"type":18,"value":322}," is the presentation presentId to wait for.",{"type":13,"tag":273,"props":324,"children":325},{},[326,332,334,339,341,346,348,351],{"type":13,"tag":21,"props":327,"children":329},{"className":328},[],[330],{"type":18,"value":331},"timeout",{"type":18,"value":333}," is the timeout period in units of nanoseconds.\n",{"type":13,"tag":21,"props":335,"children":337},{"className":336},[],[338],{"type":18,"value":331},{"type":18,"value":340}," is adjusted to the closest value allowed by the\nimplementation-dependent timeout accuracy, which ",{"type":13,"tag":342,"props":343,"children":345},"normative",{"type":344},"may",[],{"type":18,"value":347}," be substantially\nlonger than one nanosecond, and ",{"type":13,"tag":342,"props":349,"children":350},{"type":344},[],{"type":18,"value":352}," be longer than the requested\nperiod.",{"type":13,"tag":354,"props":355,"children":357},"validity-group",{"name":356},"Valid Usage (Implicit)",[358,385],{"type":13,"tag":359,"props":360,"children":362},"validity-field",{"name":361},"VUID-VkPresentWait2InfoKHR-sType-sType",[363],{"type":13,"tag":14,"props":364,"children":365},{},[366,371,373,377,379],{"type":13,"tag":21,"props":367,"children":369},{"className":368},[],[370],{"type":18,"value":281},{"type":18,"value":372}," ",{"type":13,"tag":342,"props":374,"children":376},{"type":375},"must",[],{"type":18,"value":378}," be ",{"type":13,"tag":21,"props":380,"children":382},{"className":381},[],[383],{"type":18,"value":384},"VK_STRUCTURE_TYPE_PRESENT_WAIT_2_INFO_KHR",{"type":13,"tag":359,"props":386,"children":388},{"name":387},"VUID-VkPresentWait2InfoKHR-pNext-pNext",[389],{"type":13,"tag":14,"props":390,"children":391},{},[392,397,398,401,402],{"type":13,"tag":21,"props":393,"children":395},{"className":394},[],[396],{"type":18,"value":301},{"type":18,"value":372},{"type":13,"tag":342,"props":399,"children":400},{"type":375},[],{"type":18,"value":378},{"type":13,"tag":21,"props":403,"children":405},{"className":404},[],[406],{"type":18,"value":309},{"type":13,"tag":408,"props":409,"children":410},"style",{},[411],{"type":18,"value":412},"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":414},[],"markdown",1773054773356]