[{"data":1,"prerenderedAt":507},["ShallowReactive",2],{"$foMH2HRwBODdHmeUDyoe6VKmybAPrnT1ZmhXvrX-PXNk":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":506,"_id":4},"VkSwapchainTimingPropertiesEXT","Structure containing the RC duration of a display","VK_EXT_present_timing","structs",[],{"type":10,"children":11,"toc":504},"root",[12,28,275,341,360,386,411,443,498],{"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,126],{"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 VkSwapchainTimingPropertiesEXT {\n VkStructureType sType;\n void* pNext;\n uint64_t refreshDuration;\n uint64_t refreshInterval;\n} VkSwapchainTimingPropertiesEXT;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,90,104,117],{"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}," VkSwapchainTimingPropertiesEXT {\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],{"type":13,"tag":45,"props":81,"children":82},{"style":52},[83],{"type":18,"value":84}," void*",{"type":13,"tag":45,"props":86,"children":87},{"style":63},[88],{"type":18,"value":89}," pNext;\n",{"type":13,"tag":45,"props":91,"children":93},{"class":47,"line":92},4,[94,99],{"type":13,"tag":45,"props":95,"children":96},{"style":52},[97],{"type":18,"value":98}," uint64_t",{"type":13,"tag":45,"props":100,"children":101},{"style":63},[102],{"type":18,"value":103}," refreshDuration;\n",{"type":13,"tag":45,"props":105,"children":107},{"class":47,"line":106},5,[108,112],{"type":13,"tag":45,"props":109,"children":110},{"style":52},[111],{"type":18,"value":98},{"type":13,"tag":45,"props":113,"children":114},{"style":63},[115],{"type":18,"value":116}," refreshInterval;\n",{"type":13,"tag":45,"props":118,"children":120},{"class":47,"line":119},6,[121],{"type":13,"tag":45,"props":122,"children":123},{"style":63},[124],{"type":18,"value":125},"} VkSwapchainTimingPropertiesEXT;\n",{"type":13,"tag":33,"props":127,"children":132},{"className":128,"code":129,"filename":130,"language":131,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct SwapchainTimingPropertiesEXT {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n refresh_duration: u64, // Number of nanoseconds from the start of one refresh cycle to the next\n refresh_interval: u64, // Interval in nanoseconds between refresh cycles durations\n}\n","Rust","rs",[133],{"type":13,"tag":21,"props":134,"children":135},{"__ignoreMap":39},[136,159,192,214,242,267],{"type":13,"tag":45,"props":137,"children":138},{"class":47,"line":48},[139,144,148,154],{"type":13,"tag":45,"props":140,"children":141},{"style":52},[142],{"type":18,"value":143},"pub",{"type":13,"tag":45,"props":145,"children":146},{"style":52},[147],{"type":18,"value":60},{"type":13,"tag":45,"props":149,"children":151},{"style":150},"--shiki-default:#953800;--shiki-dark:#FFA657",[152],{"type":18,"value":153}," SwapchainTimingPropertiesEXT",{"type":13,"tag":45,"props":155,"children":156},{"style":63},[157],{"type":18,"value":158}," {\n",{"type":13,"tag":45,"props":160,"children":161},{"class":47,"line":69},[162,167,172,177,182,187],{"type":13,"tag":45,"props":163,"children":164},{"style":63},[165],{"type":18,"value":166}," s_type",{"type":13,"tag":45,"props":168,"children":169},{"style":52},[170],{"type":18,"value":171},":",{"type":13,"tag":45,"props":173,"children":174},{"style":150},[175],{"type":18,"value":176}," vk",{"type":13,"tag":45,"props":178,"children":179},{"style":52},[180],{"type":18,"value":181},"::",{"type":13,"tag":45,"props":183,"children":184},{"style":150},[185],{"type":18,"value":186},"StructureType",{"type":13,"tag":45,"props":188,"children":189},{"style":63},[190],{"type":18,"value":191},",\n",{"type":13,"tag":45,"props":193,"children":194},{"class":47,"line":78},[195,200,204,209],{"type":13,"tag":45,"props":196,"children":197},{"style":63},[198],{"type":18,"value":199}," p_next",{"type":13,"tag":45,"props":201,"children":202},{"style":52},[203],{"type":18,"value":171},{"type":13,"tag":45,"props":205,"children":206},{"style":52},[207],{"type":18,"value":208}," *mut",{"type":13,"tag":45,"props":210,"children":211},{"style":63},[212],{"type":18,"value":213}," c_void,\n",{"type":13,"tag":45,"props":215,"children":216},{"class":47,"line":92},[217,222,226,231,236],{"type":13,"tag":45,"props":218,"children":219},{"style":63},[220],{"type":18,"value":221}," refresh_duration",{"type":13,"tag":45,"props":223,"children":224},{"style":52},[225],{"type":18,"value":171},{"type":13,"tag":45,"props":227,"children":228},{"style":150},[229],{"type":18,"value":230}," u64",{"type":13,"tag":45,"props":232,"children":233},{"style":63},[234],{"type":18,"value":235},", ",{"type":13,"tag":45,"props":237,"children":239},{"style":238},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[240],{"type":18,"value":241},"// Number of nanoseconds from the start of one refresh cycle to the next\n",{"type":13,"tag":45,"props":243,"children":244},{"class":47,"line":106},[245,250,254,258,262],{"type":13,"tag":45,"props":246,"children":247},{"style":63},[248],{"type":18,"value":249}," refresh_interval",{"type":13,"tag":45,"props":251,"children":252},{"style":52},[253],{"type":18,"value":171},{"type":13,"tag":45,"props":255,"children":256},{"style":150},[257],{"type":18,"value":230},{"type":13,"tag":45,"props":259,"children":260},{"style":63},[261],{"type":18,"value":235},{"type":13,"tag":45,"props":263,"children":264},{"style":238},[265],{"type":18,"value":266},"// Interval in nanoseconds between refresh cycles durations\n",{"type":13,"tag":45,"props":268,"children":269},{"class":47,"line":119},[270],{"type":13,"tag":45,"props":271,"children":272},{"style":63},[273],{"type":18,"value":274},"}\n",{"type":13,"tag":276,"props":277,"children":278},"ul",{},[279,300,319,330],{"type":13,"tag":280,"props":281,"children":282},"li",{},[283,289,291,298],{"type":13,"tag":21,"props":284,"children":286},{"className":285},[],[287],{"type":18,"value":288},"sType",{"type":18,"value":290}," is a ",{"type":13,"tag":292,"props":293,"children":295},"a",{"href":294},"/man/VkStructureType",[296],{"type":18,"value":297},"VkStructureType",{"type":18,"value":299}," value identifying this structure.",{"type":13,"tag":280,"props":301,"children":302},{},[303,309,311,317],{"type":13,"tag":21,"props":304,"children":306},{"className":305},[],[307],{"type":18,"value":308},"pNext",{"type":18,"value":310}," is ",{"type":13,"tag":21,"props":312,"children":314},{"className":313},[],[315],{"type":18,"value":316},"NULL",{"type":18,"value":318}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":280,"props":320,"children":321},{},[322,328],{"type":13,"tag":21,"props":323,"children":325},{"className":324},[],[326],{"type":18,"value":327},"refreshDuration",{"type":18,"value":329}," is zero or an indication of the duration of a\nrefresh cycle.",{"type":13,"tag":280,"props":331,"children":332},{},[333,339],{"type":13,"tag":21,"props":334,"children":336},{"className":335},[],[337],{"type":18,"value":338},"refreshInterval",{"type":18,"value":340}," is zero or a duration in nanoseconds indicating\nthe interval between refresh cycle durations.",{"type":13,"tag":14,"props":342,"children":343},{},[344,346,351,353,358],{"type":18,"value":345},"If ",{"type":13,"tag":21,"props":347,"children":349},{"className":348},[],[350],{"type":18,"value":327},{"type":18,"value":352}," is zero, the presentation engine is not able to\ndetermine the duration of the refresh cycle.\nSimilarly, if ",{"type":13,"tag":21,"props":354,"children":356},{"className":355},[],[357],{"type":18,"value":338},{"type":18,"value":359}," is zero, the presentation engine is not\nable to determine whether it is operating in VRR mode.",{"type":13,"tag":14,"props":361,"children":362},{},[363,365,370,372,377,379,384],{"type":18,"value":364},"Otherwise, if ",{"type":13,"tag":21,"props":366,"children":368},{"className":367},[],[369],{"type":18,"value":338},{"type":18,"value":371}," is the same as ",{"type":13,"tag":21,"props":373,"children":375},{"className":374},[],[376],{"type":18,"value":327},{"type":18,"value":378},",\nthe presentation engine is operating in FRR mode.\nIn this case, ",{"type":13,"tag":21,"props":380,"children":382},{"className":381},[],[383],{"type":18,"value":327},{"type":18,"value":385}," is the number of nanoseconds from the\nstart of one refresh cycle to the start of the next refresh cycle.",{"type":13,"tag":14,"props":387,"children":388},{},[389,390,395,396,402,404,409],{"type":18,"value":345},{"type":13,"tag":21,"props":391,"children":393},{"className":392},[],[394],{"type":18,"value":338},{"type":18,"value":310},{"type":13,"tag":21,"props":397,"children":399},{"className":398},[],[400],{"type":18,"value":401},"UINT64_MAX",{"type":18,"value":403},", the presentation engine is\noperating in VRR mode, and ",{"type":13,"tag":21,"props":405,"children":407},{"className":406},[],[408],{"type":18,"value":327},{"type":18,"value":410}," is the minimum number of\nnanoseconds from the start of one refresh cycle to the start of the next\nrefresh cycle.",{"type":13,"tag":14,"props":412,"children":413},{},[414,415,420,422,427,429,434,436,441],{"type":18,"value":345},{"type":13,"tag":21,"props":416,"children":418},{"className":417},[],[419],{"type":18,"value":327},{"type":18,"value":421}," and ",{"type":13,"tag":21,"props":423,"children":425},{"className":424},[],[426],{"type":18,"value":338},{"type":18,"value":428}," are not zero,\n",{"type":13,"tag":21,"props":430,"children":432},{"className":431},[],[433],{"type":18,"value":338},{"type":18,"value":435}," is a factor of ",{"type":13,"tag":21,"props":437,"children":439},{"className":438},[],[440],{"type":18,"value":327},{"type":18,"value":442},".",{"type":13,"tag":444,"props":445,"children":447},"validity-group",{"name":446},"Valid Usage (Implicit)",[448,476],{"type":13,"tag":449,"props":450,"children":452},"validity-field",{"name":451},"VUID-VkSwapchainTimingPropertiesEXT-sType-sType",[453],{"type":13,"tag":14,"props":454,"children":455},{},[456,461,463,468,470],{"type":13,"tag":21,"props":457,"children":459},{"className":458},[],[460],{"type":18,"value":288},{"type":18,"value":462}," ",{"type":13,"tag":464,"props":465,"children":467},"normative",{"type":466},"must",[],{"type":18,"value":469}," be ",{"type":13,"tag":21,"props":471,"children":473},{"className":472},[],[474],{"type":18,"value":475},"VK_STRUCTURE_TYPE_SWAPCHAIN_TIMING_PROPERTIES_EXT",{"type":13,"tag":449,"props":477,"children":479},{"name":478},"VUID-VkSwapchainTimingPropertiesEXT-pNext-pNext",[480],{"type":13,"tag":14,"props":481,"children":482},{},[483,488,489,492,493],{"type":13,"tag":21,"props":484,"children":486},{"className":485},[],[487],{"type":18,"value":308},{"type":18,"value":462},{"type":13,"tag":464,"props":490,"children":491},{"type":466},[],{"type":18,"value":469},{"type":13,"tag":21,"props":494,"children":496},{"className":495},[],[497],{"type":18,"value":316},{"type":13,"tag":499,"props":500,"children":501},"style",{},[502],{"type":18,"value":503},"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":505},[],"markdown",1773121616260]