[{"data":1,"prerenderedAt":671},["ShallowReactive",2],{"$fkv4kESu3CU7UTrZ4RkDZNgIwc3yFK0Nm-XumB7-hQzE":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":670,"_id":4},"VkSwapchainTimeDomainPropertiesEXT","List of available time domains for a swapchain","VK_EXT_present_timing","structs",[],{"type":10,"children":11,"toc":668},"root",[12,28,333,418,499,530,612,662],{"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,146],{"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 VkSwapchainTimeDomainPropertiesEXT {\n VkStructureType sType;\n void* pNext;\n uint32_t timeDomainCount;\n VkTimeDomainKHR* pTimeDomains;\n uint64_t* pTimeDomainIds;\n} VkSwapchainTimeDomainPropertiesEXT;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,90,104,123,137],{"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}," VkSwapchainTimeDomainPropertiesEXT {\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}," uint32_t",{"type":13,"tag":45,"props":100,"children":101},{"style":63},[102],{"type":18,"value":103}," timeDomainCount;\n",{"type":13,"tag":45,"props":105,"children":107},{"class":47,"line":106},5,[108,113,118],{"type":13,"tag":45,"props":109,"children":110},{"style":63},[111],{"type":18,"value":112}," VkTimeDomainKHR",{"type":13,"tag":45,"props":114,"children":115},{"style":52},[116],{"type":18,"value":117},"*",{"type":13,"tag":45,"props":119,"children":120},{"style":63},[121],{"type":18,"value":122}," pTimeDomains;\n",{"type":13,"tag":45,"props":124,"children":126},{"class":47,"line":125},6,[127,132],{"type":13,"tag":45,"props":128,"children":129},{"style":52},[130],{"type":18,"value":131}," uint64_t*",{"type":13,"tag":45,"props":133,"children":134},{"style":63},[135],{"type":18,"value":136}," pTimeDomainIds;\n",{"type":13,"tag":45,"props":138,"children":140},{"class":47,"line":139},7,[141],{"type":13,"tag":45,"props":142,"children":143},{"style":63},[144],{"type":18,"value":145},"} VkSwapchainTimeDomainPropertiesEXT;\n",{"type":13,"tag":33,"props":147,"children":152},{"className":148,"code":149,"filename":150,"language":151,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct SwapchainTimeDomainPropertiesEXT {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n time_domain_count: u32,\n p_time_domains: *mut vk::TimeDomainKHR, // Available time domains to use with the swapchain\n p_time_domain_ids: *mut u64, // Unique identifier for a time domain\n}\n","Rust","rs",[153],{"type":13,"tag":21,"props":154,"children":155},{"__ignoreMap":39},[156,179,212,234,255,295,325],{"type":13,"tag":45,"props":157,"children":158},{"class":47,"line":48},[159,164,168,174],{"type":13,"tag":45,"props":160,"children":161},{"style":52},[162],{"type":18,"value":163},"pub",{"type":13,"tag":45,"props":165,"children":166},{"style":52},[167],{"type":18,"value":60},{"type":13,"tag":45,"props":169,"children":171},{"style":170},"--shiki-default:#953800;--shiki-dark:#FFA657",[172],{"type":18,"value":173}," SwapchainTimeDomainPropertiesEXT",{"type":13,"tag":45,"props":175,"children":176},{"style":63},[177],{"type":18,"value":178}," {\n",{"type":13,"tag":45,"props":180,"children":181},{"class":47,"line":69},[182,187,192,197,202,207],{"type":13,"tag":45,"props":183,"children":184},{"style":63},[185],{"type":18,"value":186}," s_type",{"type":13,"tag":45,"props":188,"children":189},{"style":52},[190],{"type":18,"value":191},":",{"type":13,"tag":45,"props":193,"children":194},{"style":170},[195],{"type":18,"value":196}," vk",{"type":13,"tag":45,"props":198,"children":199},{"style":52},[200],{"type":18,"value":201},"::",{"type":13,"tag":45,"props":203,"children":204},{"style":170},[205],{"type":18,"value":206},"StructureType",{"type":13,"tag":45,"props":208,"children":209},{"style":63},[210],{"type":18,"value":211},",\n",{"type":13,"tag":45,"props":213,"children":214},{"class":47,"line":78},[215,220,224,229],{"type":13,"tag":45,"props":216,"children":217},{"style":63},[218],{"type":18,"value":219}," p_next",{"type":13,"tag":45,"props":221,"children":222},{"style":52},[223],{"type":18,"value":191},{"type":13,"tag":45,"props":225,"children":226},{"style":52},[227],{"type":18,"value":228}," *mut",{"type":13,"tag":45,"props":230,"children":231},{"style":63},[232],{"type":18,"value":233}," c_void,\n",{"type":13,"tag":45,"props":235,"children":236},{"class":47,"line":92},[237,242,246,251],{"type":13,"tag":45,"props":238,"children":239},{"style":63},[240],{"type":18,"value":241}," time_domain_count",{"type":13,"tag":45,"props":243,"children":244},{"style":52},[245],{"type":18,"value":191},{"type":13,"tag":45,"props":247,"children":248},{"style":170},[249],{"type":18,"value":250}," u32",{"type":13,"tag":45,"props":252,"children":253},{"style":63},[254],{"type":18,"value":211},{"type":13,"tag":45,"props":256,"children":257},{"class":47,"line":106},[258,263,267,271,275,279,284,289],{"type":13,"tag":45,"props":259,"children":260},{"style":63},[261],{"type":18,"value":262}," p_time_domains",{"type":13,"tag":45,"props":264,"children":265},{"style":52},[266],{"type":18,"value":191},{"type":13,"tag":45,"props":268,"children":269},{"style":52},[270],{"type":18,"value":228},{"type":13,"tag":45,"props":272,"children":273},{"style":170},[274],{"type":18,"value":196},{"type":13,"tag":45,"props":276,"children":277},{"style":52},[278],{"type":18,"value":201},{"type":13,"tag":45,"props":280,"children":281},{"style":170},[282],{"type":18,"value":283},"TimeDomainKHR",{"type":13,"tag":45,"props":285,"children":286},{"style":63},[287],{"type":18,"value":288},", ",{"type":13,"tag":45,"props":290,"children":292},{"style":291},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[293],{"type":18,"value":294},"// Available time domains to use with the swapchain\n",{"type":13,"tag":45,"props":296,"children":297},{"class":47,"line":125},[298,303,307,311,316,320],{"type":13,"tag":45,"props":299,"children":300},{"style":63},[301],{"type":18,"value":302}," p_time_domain_ids",{"type":13,"tag":45,"props":304,"children":305},{"style":52},[306],{"type":18,"value":191},{"type":13,"tag":45,"props":308,"children":309},{"style":52},[310],{"type":18,"value":228},{"type":13,"tag":45,"props":312,"children":313},{"style":170},[314],{"type":18,"value":315}," u64",{"type":13,"tag":45,"props":317,"children":318},{"style":63},[319],{"type":18,"value":288},{"type":13,"tag":45,"props":321,"children":322},{"style":291},[323],{"type":18,"value":324},"// Unique identifier for a time domain\n",{"type":13,"tag":45,"props":326,"children":327},{"class":47,"line":139},[328],{"type":13,"tag":45,"props":329,"children":330},{"style":63},[331],{"type":18,"value":332},"}\n",{"type":13,"tag":334,"props":335,"children":336},"ul",{},[337,358,377,388,407],{"type":13,"tag":338,"props":339,"children":340},"li",{},[341,347,349,356],{"type":13,"tag":21,"props":342,"children":344},{"className":343},[],[345],{"type":18,"value":346},"sType",{"type":18,"value":348}," is a ",{"type":13,"tag":350,"props":351,"children":353},"a",{"href":352},"/man/VkStructureType",[354],{"type":18,"value":355},"VkStructureType",{"type":18,"value":357}," value identifying this structure.",{"type":13,"tag":338,"props":359,"children":360},{},[361,367,369,375],{"type":13,"tag":21,"props":362,"children":364},{"className":363},[],[365],{"type":18,"value":366},"pNext",{"type":18,"value":368}," is ",{"type":13,"tag":21,"props":370,"children":372},{"className":371},[],[373],{"type":18,"value":374},"NULL",{"type":18,"value":376}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":338,"props":378,"children":379},{},[380,386],{"type":13,"tag":21,"props":381,"children":383},{"className":382},[],[384],{"type":18,"value":385},"timeDomainCount",{"type":18,"value":387}," is an integer related to the number of time\ndomains available or queried, as described below.",{"type":13,"tag":338,"props":389,"children":390},{},[391,397,399,405],{"type":13,"tag":21,"props":392,"children":394},{"className":393},[],[395],{"type":18,"value":396},"pTimeDomains",{"type":18,"value":398}," is a pointer to an array of ",{"type":13,"tag":350,"props":400,"children":402},{"href":401},"/man/VkTimeDomainKHR",[403],{"type":18,"value":404},"VkTimeDomainKHR",{"type":18,"value":406},"\nvalues representing time domains that are available for the swapchain.",{"type":13,"tag":338,"props":408,"children":409},{},[410,416],{"type":13,"tag":21,"props":411,"children":413},{"className":412},[],[414],{"type":18,"value":415},"pTimeDomainIds",{"type":18,"value":417}," is a pointer to an array of unique identifiers for\neach time domain.",{"type":13,"tag":14,"props":419,"children":420},{},[421,423,429,431,436,437,442,444,449,450,455,457,463,465,470,472,477,479,484,486,491,492,497],{"type":18,"value":422},"When calling ",{"type":13,"tag":350,"props":424,"children":426},{"href":425},"/man/vkGetSwapchainTimeDomainPropertiesEXT",[427],{"type":18,"value":428},"vkGetSwapchainTimeDomainPropertiesEXT",{"type":18,"value":430},", if\n",{"type":13,"tag":21,"props":432,"children":434},{"className":433},[],[435],{"type":18,"value":396},{"type":18,"value":368},{"type":13,"tag":21,"props":438,"children":440},{"className":439},[],[441],{"type":18,"value":374},{"type":18,"value":443}," and ",{"type":13,"tag":21,"props":445,"children":447},{"className":446},[],[448],{"type":18,"value":415},{"type":18,"value":368},{"type":13,"tag":21,"props":451,"children":453},{"className":452},[],[454],{"type":18,"value":374},{"type":18,"value":456},", then the\nnumber of time domains supported for the given ",{"type":13,"tag":21,"props":458,"children":460},{"className":459},[],[461],{"type":18,"value":462},"swapchain",{"type":18,"value":464}," is returned\nin ",{"type":13,"tag":21,"props":466,"children":468},{"className":467},[],[469],{"type":18,"value":385},{"type":18,"value":471},".\nOtherwise, ",{"type":13,"tag":21,"props":473,"children":475},{"className":474},[],[476],{"type":18,"value":385},{"type":18,"value":478}," ",{"type":13,"tag":480,"props":481,"children":483},"normative",{"type":482},"must",[],{"type":18,"value":485}," specify the number of elements in\n",{"type":13,"tag":21,"props":487,"children":489},{"className":488},[],[490],{"type":18,"value":396},{"type":18,"value":443},{"type":13,"tag":21,"props":493,"children":495},{"className":494},[],[496],{"type":18,"value":415},{"type":18,"value":498},", and on return is overwritten\nwith the number of values actually written to each array.",{"type":13,"tag":500,"props":501,"children":502},"note",{},[503],{"type":13,"tag":14,"props":504,"children":505},{},[506,508,514,516,520,522,528],{"type":18,"value":507},"Due to the dynamic nature of their underlying ",{"type":13,"tag":21,"props":509,"children":511},{"className":510},[],[512],{"type":18,"value":513},"VkSurfaceKHR",{"type":18,"value":515}," properties,\nswapchains may need to expose multiple swapchain-local opaque time domains\nusing the same ",{"type":13,"tag":350,"props":517,"children":518},{"href":401},[519],{"type":18,"value":404},{"type":18,"value":521}," value over time, for example when a\nsurface is moved from one display hardware to another.\nArbitrary identifiers, provided in ",{"type":13,"tag":21,"props":523,"children":525},{"className":524},[],[526],{"type":18,"value":527},"timeDomainIds",{"type":18,"value":529},", are used by the\nimplementation to differentiate opaque time domains of identical scopes.",{"type":13,"tag":531,"props":532,"children":534},"validity-group",{"name":533},"Valid Usage",[535,572],{"type":13,"tag":536,"props":537,"children":539},"validity-field",{"name":538},"VUID-VkSwapchainTimeDomainPropertiesEXT-pTimeDomains-12370",[540],{"type":13,"tag":14,"props":541,"children":542},{},[543,548,549,554,555,558,560,565,567],{"type":13,"tag":21,"props":544,"children":546},{"className":545},[],[547],{"type":18,"value":396},{"type":18,"value":443},{"type":13,"tag":21,"props":550,"children":552},{"className":551},[],[553],{"type":18,"value":415},{"type":18,"value":478},{"type":13,"tag":480,"props":556,"children":557},{"type":482},[],{"type":18,"value":559}," both be ",{"type":13,"tag":21,"props":561,"children":563},{"className":562},[],[564],{"type":18,"value":374},{"type":18,"value":566}," or both\nnot be ",{"type":13,"tag":21,"props":568,"children":570},{"className":569},[],[571],{"type":18,"value":374},{"type":13,"tag":536,"props":573,"children":575},{"name":574},"VUID-VkSwapchainTimeDomainPropertiesEXT-pTimeDomains-12371",[576],{"type":13,"tag":14,"props":577,"children":578},{},[579,581,586,587,592,594,599,601,606,607,610],{"type":18,"value":580},"If ",{"type":13,"tag":21,"props":582,"children":584},{"className":583},[],[585],{"type":18,"value":396},{"type":18,"value":443},{"type":13,"tag":21,"props":588,"children":590},{"className":589},[],[591],{"type":18,"value":415},{"type":18,"value":593}," are not ",{"type":13,"tag":21,"props":595,"children":597},{"className":596},[],[598],{"type":18,"value":374},{"type":18,"value":600},", then\n",{"type":13,"tag":21,"props":602,"children":604},{"className":603},[],[605],{"type":18,"value":385},{"type":18,"value":478},{"type":13,"tag":480,"props":608,"children":609},{"type":482},[],{"type":18,"value":611}," not be zero",{"type":13,"tag":531,"props":613,"children":615},{"name":614},"Valid Usage (Implicit)",[616,640],{"type":13,"tag":536,"props":617,"children":619},{"name":618},"VUID-VkSwapchainTimeDomainPropertiesEXT-sType-sType",[620],{"type":13,"tag":14,"props":621,"children":622},{},[623,628,629,632,634],{"type":13,"tag":21,"props":624,"children":626},{"className":625},[],[627],{"type":18,"value":346},{"type":18,"value":478},{"type":13,"tag":480,"props":630,"children":631},{"type":482},[],{"type":18,"value":633}," be ",{"type":13,"tag":21,"props":635,"children":637},{"className":636},[],[638],{"type":18,"value":639},"VK_STRUCTURE_TYPE_SWAPCHAIN_TIME_DOMAIN_PROPERTIES_EXT",{"type":13,"tag":536,"props":641,"children":643},{"name":642},"VUID-VkSwapchainTimeDomainPropertiesEXT-pNext-pNext",[644],{"type":13,"tag":14,"props":645,"children":646},{},[647,652,653,656,657],{"type":13,"tag":21,"props":648,"children":650},{"className":649},[],[651],{"type":18,"value":366},{"type":18,"value":478},{"type":13,"tag":480,"props":654,"children":655},{"type":482},[],{"type":18,"value":633},{"type":13,"tag":21,"props":658,"children":660},{"className":659},[],[661],{"type":18,"value":374},{"type":13,"tag":663,"props":664,"children":665},"style",{},[666],{"type":18,"value":667},"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":669},[],"markdown",1773121616206]