[{"data":1,"prerenderedAt":492},["ShallowReactive",2],{"OTMoDhkRL5":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":491,"_id":4},"vkGetRefreshCycleDurationGOOGLE","Obtain the RC duration of the PE's display","VK_GOOGLE_display_timing","protos",[],{"type":10,"children":11,"toc":489},"root",[12,20,300,351,459,483],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","To query the duration of a refresh cycle (RC) for the presentation engine’s\ndisplay, call:",{"type":13,"tag":21,"props":22,"children":23},"code-group",{},[24,122],{"type":13,"tag":25,"props":26,"children":32},"pre",{"className":27,"code":28,"filename":29,"language":30,"meta":31,"style":31},"language-c shiki shiki-themes github-light-default github-dark-default","VkResult vkGetRefreshCycleDurationGOOGLE(\n VkDevice device,\n VkSwapchainKHR swapchain,\n VkRefreshCycleDurationGOOGLE* pDisplayTimingProperties);\n","C","c","",[33],{"type":13,"tag":34,"props":35,"children":36},"code",{"__ignoreMap":31},[37,59,79,97],{"type":13,"tag":38,"props":39,"children":42},"span",{"class":40,"line":41},"line",1,[43,49,54],{"type":13,"tag":38,"props":44,"children":46},{"style":45},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[47],{"type":18,"value":48},"VkResult ",{"type":13,"tag":38,"props":50,"children":52},{"style":51},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[53],{"type":18,"value":4},{"type":13,"tag":38,"props":55,"children":56},{"style":45},[57],{"type":18,"value":58},"(\n",{"type":13,"tag":38,"props":60,"children":62},{"class":40,"line":61},2,[63,68,74],{"type":13,"tag":38,"props":64,"children":65},{"style":45},[66],{"type":18,"value":67}," VkDevice ",{"type":13,"tag":38,"props":69,"children":71},{"style":70},"--shiki-default:#953800;--shiki-dark:#FFA657",[72],{"type":18,"value":73},"device",{"type":13,"tag":38,"props":75,"children":76},{"style":45},[77],{"type":18,"value":78},",\n",{"type":13,"tag":38,"props":80,"children":82},{"class":40,"line":81},3,[83,88,93],{"type":13,"tag":38,"props":84,"children":85},{"style":45},[86],{"type":18,"value":87}," VkSwapchainKHR ",{"type":13,"tag":38,"props":89,"children":90},{"style":70},[91],{"type":18,"value":92},"swapchain",{"type":13,"tag":38,"props":94,"children":95},{"style":45},[96],{"type":18,"value":78},{"type":13,"tag":38,"props":98,"children":100},{"class":40,"line":99},4,[101,106,112,117],{"type":13,"tag":38,"props":102,"children":103},{"style":45},[104],{"type":18,"value":105}," VkRefreshCycleDurationGOOGLE",{"type":13,"tag":38,"props":107,"children":109},{"style":108},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[110],{"type":18,"value":111},"*",{"type":13,"tag":38,"props":113,"children":114},{"style":70},[115],{"type":18,"value":116}," pDisplayTimingProperties",{"type":13,"tag":38,"props":118,"children":119},{"style":45},[120],{"type":18,"value":121},");\n",{"type":13,"tag":25,"props":123,"children":128},{"className":124,"code":125,"filename":126,"language":127,"meta":31,"style":31},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn get_refresh_cycle_duration_google(\n device: crate :: vk :: vk::Device,\n swapchain: vk::SwapchainKHR,\n p_display_timing_properties: *mut vk::RefreshCycleDurationGOOGLE,\n) -> vk::Result;\n","Rust","rs",[129],{"type":13,"tag":34,"props":130,"children":131},{"__ignoreMap":31},[132,154,205,234,268],{"type":13,"tag":38,"props":133,"children":134},{"class":40,"line":41},[135,140,145,150],{"type":13,"tag":38,"props":136,"children":137},{"style":108},[138],{"type":18,"value":139},"pub",{"type":13,"tag":38,"props":141,"children":142},{"style":108},[143],{"type":18,"value":144}," fn",{"type":13,"tag":38,"props":146,"children":147},{"style":51},[148],{"type":18,"value":149}," get_refresh_cycle_duration_google",{"type":13,"tag":38,"props":151,"children":152},{"style":45},[153],{"type":18,"value":58},{"type":13,"tag":38,"props":155,"children":156},{"class":40,"line":61},[157,162,167,172,177,182,187,192,196,201],{"type":13,"tag":38,"props":158,"children":159},{"style":45},[160],{"type":18,"value":161}," device",{"type":13,"tag":38,"props":163,"children":164},{"style":108},[165],{"type":18,"value":166},":",{"type":13,"tag":38,"props":168,"children":169},{"style":108},[170],{"type":18,"value":171}," crate",{"type":13,"tag":38,"props":173,"children":174},{"style":108},[175],{"type":18,"value":176}," ::",{"type":13,"tag":38,"props":178,"children":179},{"style":45},[180],{"type":18,"value":181}," vk ",{"type":13,"tag":38,"props":183,"children":184},{"style":108},[185],{"type":18,"value":186},"::",{"type":13,"tag":38,"props":188,"children":189},{"style":70},[190],{"type":18,"value":191}," vk",{"type":13,"tag":38,"props":193,"children":194},{"style":108},[195],{"type":18,"value":186},{"type":13,"tag":38,"props":197,"children":198},{"style":70},[199],{"type":18,"value":200},"Device",{"type":13,"tag":38,"props":202,"children":203},{"style":45},[204],{"type":18,"value":78},{"type":13,"tag":38,"props":206,"children":207},{"class":40,"line":81},[208,213,217,221,225,230],{"type":13,"tag":38,"props":209,"children":210},{"style":45},[211],{"type":18,"value":212}," swapchain",{"type":13,"tag":38,"props":214,"children":215},{"style":108},[216],{"type":18,"value":166},{"type":13,"tag":38,"props":218,"children":219},{"style":70},[220],{"type":18,"value":191},{"type":13,"tag":38,"props":222,"children":223},{"style":108},[224],{"type":18,"value":186},{"type":13,"tag":38,"props":226,"children":227},{"style":70},[228],{"type":18,"value":229},"SwapchainKHR",{"type":13,"tag":38,"props":231,"children":232},{"style":45},[233],{"type":18,"value":78},{"type":13,"tag":38,"props":235,"children":236},{"class":40,"line":99},[237,242,246,251,255,259,264],{"type":13,"tag":38,"props":238,"children":239},{"style":45},[240],{"type":18,"value":241}," p_display_timing_properties",{"type":13,"tag":38,"props":243,"children":244},{"style":108},[245],{"type":18,"value":166},{"type":13,"tag":38,"props":247,"children":248},{"style":108},[249],{"type":18,"value":250}," *mut",{"type":13,"tag":38,"props":252,"children":253},{"style":70},[254],{"type":18,"value":191},{"type":13,"tag":38,"props":256,"children":257},{"style":108},[258],{"type":18,"value":186},{"type":13,"tag":38,"props":260,"children":261},{"style":70},[262],{"type":18,"value":263},"RefreshCycleDurationGOOGLE",{"type":13,"tag":38,"props":265,"children":266},{"style":45},[267],{"type":18,"value":78},{"type":13,"tag":38,"props":269,"children":271},{"class":40,"line":270},5,[272,277,282,286,290,295],{"type":13,"tag":38,"props":273,"children":274},{"style":45},[275],{"type":18,"value":276},") ",{"type":13,"tag":38,"props":278,"children":279},{"style":108},[280],{"type":18,"value":281},"->",{"type":13,"tag":38,"props":283,"children":284},{"style":70},[285],{"type":18,"value":191},{"type":13,"tag":38,"props":287,"children":288},{"style":108},[289],{"type":18,"value":186},{"type":13,"tag":38,"props":291,"children":292},{"style":70},[293],{"type":18,"value":294},"Result",{"type":13,"tag":38,"props":296,"children":297},{"style":45},[298],{"type":18,"value":299},";\n",{"type":13,"tag":301,"props":302,"children":303},"ul",{},[304,322,332],{"type":13,"tag":305,"props":306,"children":307},"li",{},[308,313,315,320],{"type":13,"tag":34,"props":309,"children":311},{"className":310},[],[312],{"type":18,"value":73},{"type":18,"value":314}," is the device associated with ",{"type":13,"tag":34,"props":316,"children":318},{"className":317},[],[319],{"type":18,"value":92},{"type":18,"value":321},".",{"type":13,"tag":305,"props":323,"children":324},{},[325,330],{"type":13,"tag":34,"props":326,"children":328},{"className":327},[],[329],{"type":18,"value":92},{"type":18,"value":331}," is the swapchain to obtain the refresh duration for.",{"type":13,"tag":305,"props":333,"children":334},{},[335,341,343,349],{"type":13,"tag":34,"props":336,"children":338},{"className":337},[],[339],{"type":18,"value":340},"pDisplayTimingProperties",{"type":18,"value":342}," is a pointer to a\n",{"type":13,"tag":34,"props":344,"children":346},{"className":345},[],[347],{"type":18,"value":348},"VkRefreshCycleDurationGOOGLE",{"type":18,"value":350}," structure.",{"type":13,"tag":352,"props":353,"children":355},"validity-group",{"name":354},"Valid Usage (Implicit)",[356,387,411,436],{"type":13,"tag":357,"props":358,"children":360},"validity-field",{"name":359},"VUID-vkGetRefreshCycleDurationGOOGLE-device-parameter",[361],{"type":13,"tag":14,"props":362,"children":363},{},[364,369,371,376,378,385],{"type":13,"tag":34,"props":365,"children":367},{"className":366},[],[368],{"type":18,"value":73},{"type":18,"value":370}," ",{"type":13,"tag":372,"props":373,"children":375},"normative",{"type":374},"must",[],{"type":18,"value":377}," be a valid ",{"type":13,"tag":379,"props":380,"children":382},"a",{"href":381},"/man/VkDevice",[383],{"type":18,"value":384},"VkDevice",{"type":18,"value":386}," handle",{"type":13,"tag":357,"props":388,"children":390},{"name":389},"VUID-vkGetRefreshCycleDurationGOOGLE-swapchain-parameter",[391],{"type":13,"tag":14,"props":392,"children":393},{},[394,399,400,403,404,410],{"type":13,"tag":34,"props":395,"children":397},{"className":396},[],[398],{"type":18,"value":92},{"type":18,"value":370},{"type":13,"tag":372,"props":401,"children":402},{"type":374},[],{"type":18,"value":377},{"type":13,"tag":379,"props":405,"children":407},{"href":406},"/man/VkSwapchainKHR",[408],{"type":18,"value":409},"VkSwapchainKHR",{"type":18,"value":386},{"type":13,"tag":357,"props":412,"children":414},{"name":413},"VUID-vkGetRefreshCycleDurationGOOGLE-pDisplayTimingProperties-parameter",[415],{"type":13,"tag":14,"props":416,"children":417},{},[418,423,424,427,429,434],{"type":13,"tag":34,"props":419,"children":421},{"className":420},[],[422],{"type":18,"value":340},{"type":18,"value":370},{"type":13,"tag":372,"props":425,"children":426},{"type":374},[],{"type":18,"value":428}," be a valid pointer to a ",{"type":13,"tag":379,"props":430,"children":432},{"href":431},"/man/VkRefreshCycleDurationGOOGLE",[433],{"type":18,"value":348},{"type":18,"value":435}," structure",{"type":13,"tag":357,"props":437,"children":439},{"name":438},"VUID-vkGetRefreshCycleDurationGOOGLE-swapchain-parent",[440],{"type":13,"tag":14,"props":441,"children":442},{},[443,448,449,452,454],{"type":13,"tag":34,"props":444,"children":446},{"className":445},[],[447],{"type":18,"value":92},{"type":18,"value":370},{"type":13,"tag":372,"props":450,"children":451},{"type":374},[],{"type":18,"value":453}," have been created, allocated, or retrieved from ",{"type":13,"tag":34,"props":455,"children":457},{"className":456},[],[458],{"type":18,"value":73},{"type":13,"tag":460,"props":461,"children":463},"validity-box",{"name":462},"Host Synchronization",[464],{"type":13,"tag":301,"props":465,"children":466},{},[467],{"type":13,"tag":305,"props":468,"children":469},{},[470,472,477,478,481],{"type":18,"value":471},"Host access to ",{"type":13,"tag":34,"props":473,"children":475},{"className":474},[],[476],{"type":18,"value":92},{"type":18,"value":370},{"type":13,"tag":372,"props":479,"children":480},{"type":374},[],{"type":18,"value":482}," be externally synchronized\n::",{"type":13,"tag":484,"props":485,"children":486},"style",{},[487],{"type":18,"value":488},"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":31,"searchDepth":61,"depth":61,"links":490},[],"markdown",1725732621630]