[{"data":1,"prerenderedAt":620},["ShallowReactive",2],{"$fNDVSlT6O2NvFu3FQ5PD0orxrejFAmJh89FKf2nGLi9E":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":619,"_id":4},"vkGetSwapchainTimeDomainPropertiesEXT","Obtain the time domains supported by the PE for the swapchain","VK_EXT_present_timing","protos",[],{"type":10,"children":11,"toc":617},"root",[12,20,25,329,400,440,587,611],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","The implementation maintains an internal monotonically increasing counter\nwhich updates when the presentation engine’s list of supported time domains\nfor a swapchain is modified.",{"type":13,"tag":14,"props":21,"children":22},{},[23],{"type":18,"value":24},"To query the time domains supported by the presentation engine for a given\nswapchain, call:",{"type":13,"tag":26,"props":27,"children":28},"code-group",{},[29,145],{"type":13,"tag":30,"props":31,"children":37},"pre",{"className":32,"code":33,"filename":34,"language":35,"meta":36,"style":36},"language-c shiki shiki-themes github-light-default github-dark-default","VkResult vkGetSwapchainTimeDomainPropertiesEXT(\n VkDevice device,\n VkSwapchainKHR swapchain,\n VkSwapchainTimeDomainPropertiesEXT* pSwapchainTimeDomainProperties,\n uint64_t* pTimeDomainsCounter);\n","C","c","",[38],{"type":13,"tag":39,"props":40,"children":41},"code",{"__ignoreMap":36},[42,64,84,102,126],{"type":13,"tag":43,"props":44,"children":47},"span",{"class":45,"line":46},"line",1,[48,54,59],{"type":13,"tag":43,"props":49,"children":51},{"style":50},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[52],{"type":18,"value":53},"VkResult ",{"type":13,"tag":43,"props":55,"children":57},{"style":56},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[58],{"type":18,"value":4},{"type":13,"tag":43,"props":60,"children":61},{"style":50},[62],{"type":18,"value":63},"(\n",{"type":13,"tag":43,"props":65,"children":67},{"class":45,"line":66},2,[68,73,79],{"type":13,"tag":43,"props":69,"children":70},{"style":50},[71],{"type":18,"value":72}," VkDevice ",{"type":13,"tag":43,"props":74,"children":76},{"style":75},"--shiki-default:#953800;--shiki-dark:#FFA657",[77],{"type":18,"value":78},"device",{"type":13,"tag":43,"props":80,"children":81},{"style":50},[82],{"type":18,"value":83},",\n",{"type":13,"tag":43,"props":85,"children":87},{"class":45,"line":86},3,[88,93,98],{"type":13,"tag":43,"props":89,"children":90},{"style":50},[91],{"type":18,"value":92}," VkSwapchainKHR ",{"type":13,"tag":43,"props":94,"children":95},{"style":75},[96],{"type":18,"value":97},"swapchain",{"type":13,"tag":43,"props":99,"children":100},{"style":50},[101],{"type":18,"value":83},{"type":13,"tag":43,"props":103,"children":105},{"class":45,"line":104},4,[106,111,117,122],{"type":13,"tag":43,"props":107,"children":108},{"style":50},[109],{"type":18,"value":110}," VkSwapchainTimeDomainPropertiesEXT",{"type":13,"tag":43,"props":112,"children":114},{"style":113},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[115],{"type":18,"value":116},"*",{"type":13,"tag":43,"props":118,"children":119},{"style":75},[120],{"type":18,"value":121}," pSwapchainTimeDomainProperties",{"type":13,"tag":43,"props":123,"children":124},{"style":50},[125],{"type":18,"value":83},{"type":13,"tag":43,"props":127,"children":129},{"class":45,"line":128},5,[130,135,140],{"type":13,"tag":43,"props":131,"children":132},{"style":113},[133],{"type":18,"value":134}," uint64_t*",{"type":13,"tag":43,"props":136,"children":137},{"style":75},[138],{"type":18,"value":139}," pTimeDomainsCounter",{"type":13,"tag":43,"props":141,"children":142},{"style":50},[143],{"type":18,"value":144},");\n",{"type":13,"tag":30,"props":146,"children":151},{"className":147,"code":148,"filename":149,"language":150,"meta":36,"style":36},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn get_swapchain_time_domain_properties_ext(\n device: vk::Device,\n swapchain: vk::SwapchainKHR,\n p_swapchain_time_domain_properties: *mut vk::SwapchainTimeDomainPropertiesEXT,\n p_time_domains_counter: *mut u64,\n) -> vk::Result;\n","Rust","rs",[152],{"type":13,"tag":39,"props":153,"children":154},{"__ignoreMap":36},[155,177,209,238,272,297],{"type":13,"tag":43,"props":156,"children":157},{"class":45,"line":46},[158,163,168,173],{"type":13,"tag":43,"props":159,"children":160},{"style":113},[161],{"type":18,"value":162},"pub",{"type":13,"tag":43,"props":164,"children":165},{"style":113},[166],{"type":18,"value":167}," fn",{"type":13,"tag":43,"props":169,"children":170},{"style":56},[171],{"type":18,"value":172}," get_swapchain_time_domain_properties_ext",{"type":13,"tag":43,"props":174,"children":175},{"style":50},[176],{"type":18,"value":63},{"type":13,"tag":43,"props":178,"children":179},{"class":45,"line":66},[180,185,190,195,200,205],{"type":13,"tag":43,"props":181,"children":182},{"style":50},[183],{"type":18,"value":184}," device",{"type":13,"tag":43,"props":186,"children":187},{"style":113},[188],{"type":18,"value":189},":",{"type":13,"tag":43,"props":191,"children":192},{"style":75},[193],{"type":18,"value":194}," vk",{"type":13,"tag":43,"props":196,"children":197},{"style":113},[198],{"type":18,"value":199},"::",{"type":13,"tag":43,"props":201,"children":202},{"style":75},[203],{"type":18,"value":204},"Device",{"type":13,"tag":43,"props":206,"children":207},{"style":50},[208],{"type":18,"value":83},{"type":13,"tag":43,"props":210,"children":211},{"class":45,"line":86},[212,217,221,225,229,234],{"type":13,"tag":43,"props":213,"children":214},{"style":50},[215],{"type":18,"value":216}," swapchain",{"type":13,"tag":43,"props":218,"children":219},{"style":113},[220],{"type":18,"value":189},{"type":13,"tag":43,"props":222,"children":223},{"style":75},[224],{"type":18,"value":194},{"type":13,"tag":43,"props":226,"children":227},{"style":113},[228],{"type":18,"value":199},{"type":13,"tag":43,"props":230,"children":231},{"style":75},[232],{"type":18,"value":233},"SwapchainKHR",{"type":13,"tag":43,"props":235,"children":236},{"style":50},[237],{"type":18,"value":83},{"type":13,"tag":43,"props":239,"children":240},{"class":45,"line":104},[241,246,250,255,259,263,268],{"type":13,"tag":43,"props":242,"children":243},{"style":50},[244],{"type":18,"value":245}," p_swapchain_time_domain_properties",{"type":13,"tag":43,"props":247,"children":248},{"style":113},[249],{"type":18,"value":189},{"type":13,"tag":43,"props":251,"children":252},{"style":113},[253],{"type":18,"value":254}," *mut",{"type":13,"tag":43,"props":256,"children":257},{"style":75},[258],{"type":18,"value":194},{"type":13,"tag":43,"props":260,"children":261},{"style":113},[262],{"type":18,"value":199},{"type":13,"tag":43,"props":264,"children":265},{"style":75},[266],{"type":18,"value":267},"SwapchainTimeDomainPropertiesEXT",{"type":13,"tag":43,"props":269,"children":270},{"style":50},[271],{"type":18,"value":83},{"type":13,"tag":43,"props":273,"children":274},{"class":45,"line":128},[275,280,284,288,293],{"type":13,"tag":43,"props":276,"children":277},{"style":50},[278],{"type":18,"value":279}," p_time_domains_counter",{"type":13,"tag":43,"props":281,"children":282},{"style":113},[283],{"type":18,"value":189},{"type":13,"tag":43,"props":285,"children":286},{"style":113},[287],{"type":18,"value":254},{"type":13,"tag":43,"props":289,"children":290},{"style":75},[291],{"type":18,"value":292}," u64",{"type":13,"tag":43,"props":294,"children":295},{"style":50},[296],{"type":18,"value":83},{"type":13,"tag":43,"props":298,"children":300},{"class":45,"line":299},6,[301,306,311,315,319,324],{"type":13,"tag":43,"props":302,"children":303},{"style":50},[304],{"type":18,"value":305},") ",{"type":13,"tag":43,"props":307,"children":308},{"style":113},[309],{"type":18,"value":310},"->",{"type":13,"tag":43,"props":312,"children":313},{"style":75},[314],{"type":18,"value":194},{"type":13,"tag":43,"props":316,"children":317},{"style":113},[318],{"type":18,"value":199},{"type":13,"tag":43,"props":320,"children":321},{"style":75},[322],{"type":18,"value":323},"Result",{"type":13,"tag":43,"props":325,"children":326},{"style":50},[327],{"type":18,"value":328},";\n",{"type":13,"tag":330,"props":331,"children":332},"ul",{},[333,351,361,381],{"type":13,"tag":334,"props":335,"children":336},"li",{},[337,342,344,349],{"type":13,"tag":39,"props":338,"children":340},{"className":339},[],[341],{"type":18,"value":78},{"type":18,"value":343}," is the device associated with ",{"type":13,"tag":39,"props":345,"children":347},{"className":346},[],[348],{"type":18,"value":97},{"type":18,"value":350},".",{"type":13,"tag":334,"props":352,"children":353},{},[354,359],{"type":13,"tag":39,"props":355,"children":357},{"className":356},[],[358],{"type":18,"value":97},{"type":18,"value":360}," is the swapchain to obtain time domain properties for.",{"type":13,"tag":334,"props":362,"children":363},{},[364,370,372,379],{"type":13,"tag":39,"props":365,"children":367},{"className":366},[],[368],{"type":18,"value":369},"pSwapchainTimeDomainProperties",{"type":18,"value":371}," is a pointer to an instance of the\n",{"type":13,"tag":373,"props":374,"children":376},"a",{"href":375},"/man/VkSwapchainTimeDomainPropertiesEXT",[377],{"type":18,"value":378},"VkSwapchainTimeDomainPropertiesEXT",{"type":18,"value":380}," structure.",{"type":13,"tag":334,"props":382,"children":383},{},[384,390,392,398],{"type":13,"tag":39,"props":385,"children":387},{"className":386},[],[388],{"type":18,"value":389},"pTimeDomainsCounter",{"type":18,"value":391}," is ",{"type":13,"tag":39,"props":393,"children":395},{"className":394},[],[396],{"type":18,"value":397},"NULL",{"type":18,"value":399}," or a pointer to a 64-bit unsigned\ninteger set by the implementation to the current value of the\nswapchain’s internal time domain properties counter.",{"type":13,"tag":14,"props":401,"children":402},{},[403,405,409,410,416,418,423,424,430,432,438],{"type":18,"value":404},"If upon return\n",{"type":13,"tag":373,"props":406,"children":407},{"href":375},[408],{"type":18,"value":378},{"type":18,"value":199},{"type":13,"tag":39,"props":411,"children":413},{"className":412},[],[414],{"type":18,"value":415},"timeDomainCount",{"type":18,"value":417}," is smaller\nthan the number of time domains supported for the given ",{"type":13,"tag":39,"props":419,"children":421},{"className":420},[],[422],{"type":18,"value":97},{"type":18,"value":83},{"type":13,"tag":39,"props":425,"children":427},{"className":426},[],[428],{"type":18,"value":429},"VK_INCOMPLETE",{"type":18,"value":431}," will be returned instead of ",{"type":13,"tag":39,"props":433,"children":435},{"className":434},[],[436],{"type":18,"value":437},"VK_SUCCESS",{"type":18,"value":439}," to indicate\nthat not all the available values were returned.",{"type":13,"tag":441,"props":442,"children":444},"validity-group",{"name":443},"Valid Usage (Implicit)",[445,475,499,523,564],{"type":13,"tag":446,"props":447,"children":449},"validity-field",{"name":448},"VUID-vkGetSwapchainTimeDomainPropertiesEXT-device-parameter",[450],{"type":13,"tag":14,"props":451,"children":452},{},[453,458,460,465,467,473],{"type":13,"tag":39,"props":454,"children":456},{"className":455},[],[457],{"type":18,"value":78},{"type":18,"value":459}," ",{"type":13,"tag":461,"props":462,"children":464},"normative",{"type":463},"must",[],{"type":18,"value":466}," be a valid ",{"type":13,"tag":373,"props":468,"children":470},{"href":469},"/man/VkDevice",[471],{"type":18,"value":472},"VkDevice",{"type":18,"value":474}," handle",{"type":13,"tag":446,"props":476,"children":478},{"name":477},"VUID-vkGetSwapchainTimeDomainPropertiesEXT-swapchain-parameter",[479],{"type":13,"tag":14,"props":480,"children":481},{},[482,487,488,491,492,498],{"type":13,"tag":39,"props":483,"children":485},{"className":484},[],[486],{"type":18,"value":97},{"type":18,"value":459},{"type":13,"tag":461,"props":489,"children":490},{"type":463},[],{"type":18,"value":466},{"type":13,"tag":373,"props":493,"children":495},{"href":494},"/man/VkSwapchainKHR",[496],{"type":18,"value":497},"VkSwapchainKHR",{"type":18,"value":474},{"type":13,"tag":446,"props":500,"children":502},{"name":501},"VUID-vkGetSwapchainTimeDomainPropertiesEXT-pSwapchainTimeDomainProperties-parameter",[503],{"type":13,"tag":14,"props":504,"children":505},{},[506,511,512,515,517,521],{"type":13,"tag":39,"props":507,"children":509},{"className":508},[],[510],{"type":18,"value":369},{"type":18,"value":459},{"type":13,"tag":461,"props":513,"children":514},{"type":463},[],{"type":18,"value":516}," be a valid pointer to a ",{"type":13,"tag":373,"props":518,"children":519},{"href":375},[520],{"type":18,"value":378},{"type":18,"value":522}," structure",{"type":13,"tag":446,"props":524,"children":526},{"name":525},"VUID-vkGetSwapchainTimeDomainPropertiesEXT-pTimeDomainsCounter-parameter",[527],{"type":13,"tag":14,"props":528,"children":529},{},[530,532,537,539,544,546,551,552,555,556,562],{"type":18,"value":531},"If ",{"type":13,"tag":39,"props":533,"children":535},{"className":534},[],[536],{"type":18,"value":389},{"type":18,"value":538}," is not ",{"type":13,"tag":39,"props":540,"children":542},{"className":541},[],[543],{"type":18,"value":397},{"type":18,"value":545},", ",{"type":13,"tag":39,"props":547,"children":549},{"className":548},[],[550],{"type":18,"value":389},{"type":18,"value":459},{"type":13,"tag":461,"props":553,"children":554},{"type":463},[],{"type":18,"value":516},{"type":13,"tag":39,"props":557,"children":559},{"className":558},[],[560],{"type":18,"value":561},"uint64_t",{"type":18,"value":563}," value",{"type":13,"tag":446,"props":565,"children":567},{"name":566},"VUID-vkGetSwapchainTimeDomainPropertiesEXT-swapchain-parent",[568],{"type":13,"tag":14,"props":569,"children":570},{},[571,576,577,580,582],{"type":13,"tag":39,"props":572,"children":574},{"className":573},[],[575],{"type":18,"value":97},{"type":18,"value":459},{"type":13,"tag":461,"props":578,"children":579},{"type":463},[],{"type":18,"value":581}," have been created, allocated, or retrieved from ",{"type":13,"tag":39,"props":583,"children":585},{"className":584},[],[586],{"type":18,"value":78},{"type":13,"tag":588,"props":589,"children":591},"validity-box",{"name":590},"Host Synchronization",[592],{"type":13,"tag":330,"props":593,"children":594},{},[595],{"type":13,"tag":334,"props":596,"children":597},{},[598,600,605,606,609],{"type":18,"value":599},"Host access to ",{"type":13,"tag":39,"props":601,"children":603},{"className":602},[],[604],{"type":18,"value":97},{"type":18,"value":459},{"type":13,"tag":461,"props":607,"children":608},{"type":463},[],{"type":18,"value":610}," be externally synchronized",{"type":13,"tag":612,"props":613,"children":614},"style",{},[615],{"type":18,"value":616},"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":36,"searchDepth":66,"depth":66,"links":618},[],"markdown",1773121650634]