[{"data":1,"prerenderedAt":770},["ShallowReactive",2],{"sn2bkrL3KU":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":769,"_id":4},"vkGetPhysicalDeviceCalibrateableTimeDomainsKHR","Query calibrateable time domains","VK_KHR_calibrated_timestamps","protos",[],{"type":10,"children":11,"toc":767},"root",[12,20,277,282,492,546,644,761],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","To query the set of time domains for which a physical device supports\ntimestamp calibration, 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 vkGetPhysicalDeviceCalibrateableTimeDomainsKHR(\n VkPhysicalDevice physicalDevice,\n uint32_t* pTimeDomainCount,\n VkTimeDomainKHR* pTimeDomains);\n","C","c","",[33],{"type":13,"tag":34,"props":35,"children":36},"code",{"__ignoreMap":31},[37,59,79,98],{"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}," VkPhysicalDevice ",{"type":13,"tag":38,"props":69,"children":71},{"style":70},"--shiki-default:#953800;--shiki-dark:#FFA657",[72],{"type":18,"value":73},"physicalDevice",{"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,89,94],{"type":13,"tag":38,"props":84,"children":86},{"style":85},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[87],{"type":18,"value":88}," uint32_t*",{"type":13,"tag":38,"props":90,"children":91},{"style":70},[92],{"type":18,"value":93}," pTimeDomainCount",{"type":13,"tag":38,"props":95,"children":96},{"style":45},[97],{"type":18,"value":78},{"type":13,"tag":38,"props":99,"children":101},{"class":40,"line":100},4,[102,107,112,117],{"type":13,"tag":38,"props":103,"children":104},{"style":45},[105],{"type":18,"value":106}," VkTimeDomainKHR",{"type":13,"tag":38,"props":108,"children":109},{"style":85},[110],{"type":18,"value":111},"*",{"type":13,"tag":38,"props":113,"children":114},{"style":70},[115],{"type":18,"value":116}," pTimeDomains",{"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_physical_device_calibrateable_time_domains_khr(\n physical_device: vk::PhysicalDevice,\n p_time_domain_count: *mut u32,\n p_time_domains: *mut vk::TimeDomainKHR,\n) -> vk::Result;\n","Rust","rs",[129],{"type":13,"tag":34,"props":130,"children":131},{"__ignoreMap":31},[132,154,186,212,245],{"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":85},[138],{"type":18,"value":139},"pub",{"type":13,"tag":38,"props":141,"children":142},{"style":85},[143],{"type":18,"value":144}," fn",{"type":13,"tag":38,"props":146,"children":147},{"style":51},[148],{"type":18,"value":149}," get_physical_device_calibrateable_time_domains_khr",{"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],{"type":13,"tag":38,"props":158,"children":159},{"style":45},[160],{"type":18,"value":161}," physical_device",{"type":13,"tag":38,"props":163,"children":164},{"style":85},[165],{"type":18,"value":166},":",{"type":13,"tag":38,"props":168,"children":169},{"style":70},[170],{"type":18,"value":171}," vk",{"type":13,"tag":38,"props":173,"children":174},{"style":85},[175],{"type":18,"value":176},"::",{"type":13,"tag":38,"props":178,"children":179},{"style":70},[180],{"type":18,"value":181},"PhysicalDevice",{"type":13,"tag":38,"props":183,"children":184},{"style":45},[185],{"type":18,"value":78},{"type":13,"tag":38,"props":187,"children":188},{"class":40,"line":81},[189,194,198,203,208],{"type":13,"tag":38,"props":190,"children":191},{"style":45},[192],{"type":18,"value":193}," p_time_domain_count",{"type":13,"tag":38,"props":195,"children":196},{"style":85},[197],{"type":18,"value":166},{"type":13,"tag":38,"props":199,"children":200},{"style":85},[201],{"type":18,"value":202}," *mut",{"type":13,"tag":38,"props":204,"children":205},{"style":70},[206],{"type":18,"value":207}," u32",{"type":13,"tag":38,"props":209,"children":210},{"style":45},[211],{"type":18,"value":78},{"type":13,"tag":38,"props":213,"children":214},{"class":40,"line":100},[215,220,224,228,232,236,241],{"type":13,"tag":38,"props":216,"children":217},{"style":45},[218],{"type":18,"value":219}," p_time_domains",{"type":13,"tag":38,"props":221,"children":222},{"style":85},[223],{"type":18,"value":166},{"type":13,"tag":38,"props":225,"children":226},{"style":85},[227],{"type":18,"value":202},{"type":13,"tag":38,"props":229,"children":230},{"style":70},[231],{"type":18,"value":171},{"type":13,"tag":38,"props":233,"children":234},{"style":85},[235],{"type":18,"value":176},{"type":13,"tag":38,"props":237,"children":238},{"style":70},[239],{"type":18,"value":240},"TimeDomainKHR",{"type":13,"tag":38,"props":242,"children":243},{"style":45},[244],{"type":18,"value":78},{"type":13,"tag":38,"props":246,"children":248},{"class":40,"line":247},5,[249,254,259,263,267,272],{"type":13,"tag":38,"props":250,"children":251},{"style":45},[252],{"type":18,"value":253},") ",{"type":13,"tag":38,"props":255,"children":256},{"style":85},[257],{"type":18,"value":258},"->",{"type":13,"tag":38,"props":260,"children":261},{"style":70},[262],{"type":18,"value":171},{"type":13,"tag":38,"props":264,"children":265},{"style":85},[266],{"type":18,"value":176},{"type":13,"tag":38,"props":268,"children":269},{"style":70},[270],{"type":18,"value":271},"Result",{"type":13,"tag":38,"props":273,"children":274},{"style":45},[275],{"type":18,"value":276},";\n",{"type":13,"tag":14,"props":278,"children":279},{},[280],{"type":18,"value":281},"or the equivalent command",{"type":13,"tag":21,"props":283,"children":284},{},[285,357],{"type":13,"tag":25,"props":286,"children":288},{"className":27,"code":287,"filename":29,"language":30,"meta":31,"style":31},"VkResult vkGetPhysicalDeviceCalibrateableTimeDomainsEXT(\n VkPhysicalDevice physicalDevice,\n uint32_t* pTimeDomainCount,\n VkTimeDomainKHR* pTimeDomains);\n",[289],{"type":13,"tag":34,"props":290,"children":291},{"__ignoreMap":31},[292,308,323,338],{"type":13,"tag":38,"props":293,"children":294},{"class":40,"line":41},[295,299,304],{"type":13,"tag":38,"props":296,"children":297},{"style":45},[298],{"type":18,"value":48},{"type":13,"tag":38,"props":300,"children":301},{"style":51},[302],{"type":18,"value":303},"vkGetPhysicalDeviceCalibrateableTimeDomainsEXT",{"type":13,"tag":38,"props":305,"children":306},{"style":45},[307],{"type":18,"value":58},{"type":13,"tag":38,"props":309,"children":310},{"class":40,"line":61},[311,315,319],{"type":13,"tag":38,"props":312,"children":313},{"style":45},[314],{"type":18,"value":67},{"type":13,"tag":38,"props":316,"children":317},{"style":70},[318],{"type":18,"value":73},{"type":13,"tag":38,"props":320,"children":321},{"style":45},[322],{"type":18,"value":78},{"type":13,"tag":38,"props":324,"children":325},{"class":40,"line":81},[326,330,334],{"type":13,"tag":38,"props":327,"children":328},{"style":85},[329],{"type":18,"value":88},{"type":13,"tag":38,"props":331,"children":332},{"style":70},[333],{"type":18,"value":93},{"type":13,"tag":38,"props":335,"children":336},{"style":45},[337],{"type":18,"value":78},{"type":13,"tag":38,"props":339,"children":340},{"class":40,"line":100},[341,345,349,353],{"type":13,"tag":38,"props":342,"children":343},{"style":45},[344],{"type":18,"value":106},{"type":13,"tag":38,"props":346,"children":347},{"style":85},[348],{"type":18,"value":111},{"type":13,"tag":38,"props":350,"children":351},{"style":70},[352],{"type":18,"value":116},{"type":13,"tag":38,"props":354,"children":355},{"style":45},[356],{"type":18,"value":121},{"type":13,"tag":25,"props":358,"children":360},{"className":124,"code":359,"filename":126,"language":127,"meta":31,"style":31},"pub fn get_physical_device_calibrateable_time_domains_ext(\n physical_device: vk::PhysicalDevice,\n p_time_domain_count: *mut u32,\n p_time_domains: *mut vk::TimeDomainKHR,\n) -> vk::Result;\n",[361],{"type":13,"tag":34,"props":362,"children":363},{"__ignoreMap":31},[364,384,411,434,465],{"type":13,"tag":38,"props":365,"children":366},{"class":40,"line":41},[367,371,375,380],{"type":13,"tag":38,"props":368,"children":369},{"style":85},[370],{"type":18,"value":139},{"type":13,"tag":38,"props":372,"children":373},{"style":85},[374],{"type":18,"value":144},{"type":13,"tag":38,"props":376,"children":377},{"style":51},[378],{"type":18,"value":379}," get_physical_device_calibrateable_time_domains_ext",{"type":13,"tag":38,"props":381,"children":382},{"style":45},[383],{"type":18,"value":58},{"type":13,"tag":38,"props":385,"children":386},{"class":40,"line":61},[387,391,395,399,403,407],{"type":13,"tag":38,"props":388,"children":389},{"style":45},[390],{"type":18,"value":161},{"type":13,"tag":38,"props":392,"children":393},{"style":85},[394],{"type":18,"value":166},{"type":13,"tag":38,"props":396,"children":397},{"style":70},[398],{"type":18,"value":171},{"type":13,"tag":38,"props":400,"children":401},{"style":85},[402],{"type":18,"value":176},{"type":13,"tag":38,"props":404,"children":405},{"style":70},[406],{"type":18,"value":181},{"type":13,"tag":38,"props":408,"children":409},{"style":45},[410],{"type":18,"value":78},{"type":13,"tag":38,"props":412,"children":413},{"class":40,"line":81},[414,418,422,426,430],{"type":13,"tag":38,"props":415,"children":416},{"style":45},[417],{"type":18,"value":193},{"type":13,"tag":38,"props":419,"children":420},{"style":85},[421],{"type":18,"value":166},{"type":13,"tag":38,"props":423,"children":424},{"style":85},[425],{"type":18,"value":202},{"type":13,"tag":38,"props":427,"children":428},{"style":70},[429],{"type":18,"value":207},{"type":13,"tag":38,"props":431,"children":432},{"style":45},[433],{"type":18,"value":78},{"type":13,"tag":38,"props":435,"children":436},{"class":40,"line":100},[437,441,445,449,453,457,461],{"type":13,"tag":38,"props":438,"children":439},{"style":45},[440],{"type":18,"value":219},{"type":13,"tag":38,"props":442,"children":443},{"style":85},[444],{"type":18,"value":166},{"type":13,"tag":38,"props":446,"children":447},{"style":85},[448],{"type":18,"value":202},{"type":13,"tag":38,"props":450,"children":451},{"style":70},[452],{"type":18,"value":171},{"type":13,"tag":38,"props":454,"children":455},{"style":85},[456],{"type":18,"value":176},{"type":13,"tag":38,"props":458,"children":459},{"style":70},[460],{"type":18,"value":240},{"type":13,"tag":38,"props":462,"children":463},{"style":45},[464],{"type":18,"value":78},{"type":13,"tag":38,"props":466,"children":467},{"class":40,"line":247},[468,472,476,480,484,488],{"type":13,"tag":38,"props":469,"children":470},{"style":45},[471],{"type":18,"value":253},{"type":13,"tag":38,"props":473,"children":474},{"style":85},[475],{"type":18,"value":258},{"type":13,"tag":38,"props":477,"children":478},{"style":70},[479],{"type":18,"value":171},{"type":13,"tag":38,"props":481,"children":482},{"style":85},[483],{"type":18,"value":176},{"type":13,"tag":38,"props":485,"children":486},{"style":70},[487],{"type":18,"value":271},{"type":13,"tag":38,"props":489,"children":490},{"style":45},[491],{"type":18,"value":276},{"type":13,"tag":493,"props":494,"children":495},"ul",{},[496,507,518],{"type":13,"tag":497,"props":498,"children":499},"li",{},[500,505],{"type":13,"tag":34,"props":501,"children":503},{"className":502},[],[504],{"type":18,"value":73},{"type":18,"value":506}," is the physical device from which to query the set\nof calibrateable time domains.",{"type":13,"tag":497,"props":508,"children":509},{},[510,516],{"type":13,"tag":34,"props":511,"children":513},{"className":512},[],[514],{"type":18,"value":515},"pTimeDomainCount",{"type":18,"value":517}," is a pointer to an integer related to the number\nof calibrateable time domains available or queried, as described below.",{"type":13,"tag":497,"props":519,"children":520},{},[521,527,529,535,537,544],{"type":13,"tag":34,"props":522,"children":524},{"className":523},[],[525],{"type":18,"value":526},"pTimeDomains",{"type":18,"value":528}," is either ",{"type":13,"tag":34,"props":530,"children":532},{"className":531},[],[533],{"type":18,"value":534},"NULL",{"type":18,"value":536}," or a pointer to an array of\n",{"type":13,"tag":538,"props":539,"children":541},"a",{"href":540},"/man/VkTimeDomainKHR",[542],{"type":18,"value":543},"VkTimeDomainKHR",{"type":18,"value":545}," values, indicating the supported calibrateable\ntime domains.",{"type":13,"tag":14,"props":547,"children":548},{},[549,551,556,558,563,565,570,572,577,579,584,586,591,593,598,600,605,607,612,614,619,621,626,628,634,636,642],{"type":18,"value":550},"If ",{"type":13,"tag":34,"props":552,"children":554},{"className":553},[],[555],{"type":18,"value":526},{"type":18,"value":557}," is ",{"type":13,"tag":34,"props":559,"children":561},{"className":560},[],[562],{"type":18,"value":534},{"type":18,"value":564},", then the number of calibrateable time\ndomains supported for the given ",{"type":13,"tag":34,"props":566,"children":568},{"className":567},[],[569],{"type":18,"value":73},{"type":18,"value":571}," is returned in\n",{"type":13,"tag":34,"props":573,"children":575},{"className":574},[],[576],{"type":18,"value":515},{"type":18,"value":578},".\nOtherwise, ",{"type":13,"tag":34,"props":580,"children":582},{"className":581},[],[583],{"type":18,"value":515},{"type":18,"value":585}," ",{"type":13,"tag":587,"props":588,"children":590},"normative",{"type":589},"must",[],{"type":18,"value":592}," point to a variable set by the\napplication to the number of elements in the ",{"type":13,"tag":34,"props":594,"children":596},{"className":595},[],[597],{"type":18,"value":526},{"type":18,"value":599}," array, and\non return the variable is overwritten with the number of values actually\nwritten to ",{"type":13,"tag":34,"props":601,"children":603},{"className":602},[],[604],{"type":18,"value":526},{"type":18,"value":606},".\nIf the value of ",{"type":13,"tag":34,"props":608,"children":610},{"className":609},[],[611],{"type":18,"value":515},{"type":18,"value":613}," is less than the number of\ncalibrateable time domains supported, at most ",{"type":13,"tag":34,"props":615,"children":617},{"className":616},[],[618],{"type":18,"value":515},{"type":18,"value":620}," values\nwill be written to ",{"type":13,"tag":34,"props":622,"children":624},{"className":623},[],[625],{"type":18,"value":526},{"type":18,"value":627},", and ",{"type":13,"tag":34,"props":629,"children":631},{"className":630},[],[632],{"type":18,"value":633},"VK_INCOMPLETE",{"type":18,"value":635}," will be\nreturned instead of ",{"type":13,"tag":34,"props":637,"children":639},{"className":638},[],[640],{"type":18,"value":641},"VK_SUCCESS",{"type":18,"value":643},", to indicate that not all the available\ntime domains were returned.",{"type":13,"tag":645,"props":646,"children":648},"validity-group",{"name":647},"Valid Usage (Implicit)",[649,676,702],{"type":13,"tag":650,"props":651,"children":653},"validity-field",{"name":652},"VUID-vkGetPhysicalDeviceCalibrateableTimeDomainsKHR-physicalDevice-parameter",[654],{"type":13,"tag":14,"props":655,"children":656},{},[657,662,663,666,668,674],{"type":13,"tag":34,"props":658,"children":660},{"className":659},[],[661],{"type":18,"value":73},{"type":18,"value":585},{"type":13,"tag":587,"props":664,"children":665},{"type":589},[],{"type":18,"value":667}," be a valid ",{"type":13,"tag":538,"props":669,"children":671},{"href":670},"/man/VkPhysicalDevice",[672],{"type":18,"value":673},"VkPhysicalDevice",{"type":18,"value":675}," handle",{"type":13,"tag":650,"props":677,"children":679},{"name":678},"VUID-vkGetPhysicalDeviceCalibrateableTimeDomainsKHR-pTimeDomainCount-parameter",[680],{"type":13,"tag":14,"props":681,"children":682},{},[683,688,689,692,694,700],{"type":13,"tag":34,"props":684,"children":686},{"className":685},[],[687],{"type":18,"value":515},{"type":18,"value":585},{"type":13,"tag":587,"props":690,"children":691},{"type":589},[],{"type":18,"value":693}," be a valid pointer to a ",{"type":13,"tag":34,"props":695,"children":697},{"className":696},[],[698],{"type":18,"value":699},"uint32_t",{"type":18,"value":701}," value",{"type":13,"tag":650,"props":703,"children":705},{"name":704},"VUID-vkGetPhysicalDeviceCalibrateableTimeDomainsKHR-pTimeDomains-parameter",[706],{"type":13,"tag":14,"props":707,"children":708},{},[709,711,716,718,724,725,730,731,736,738,743,744,747,749,754,755,759],{"type":18,"value":710},"If the value referenced by ",{"type":13,"tag":34,"props":712,"children":714},{"className":713},[],[715],{"type":18,"value":515},{"type":18,"value":717}," is not ",{"type":13,"tag":34,"props":719,"children":721},{"className":720},[],[722],{"type":18,"value":723},"0",{"type":18,"value":627},{"type":13,"tag":34,"props":726,"children":728},{"className":727},[],[729],{"type":18,"value":526},{"type":18,"value":717},{"type":13,"tag":34,"props":732,"children":734},{"className":733},[],[735],{"type":18,"value":534},{"type":18,"value":737},", ",{"type":13,"tag":34,"props":739,"children":741},{"className":740},[],[742],{"type":18,"value":526},{"type":18,"value":585},{"type":13,"tag":587,"props":745,"children":746},{"type":589},[],{"type":18,"value":748}," be a valid pointer to an array of ",{"type":13,"tag":34,"props":750,"children":752},{"className":751},[],[753],{"type":18,"value":515},{"type":18,"value":585},{"type":13,"tag":538,"props":756,"children":757},{"href":540},[758],{"type":18,"value":543},{"type":18,"value":760}," values",{"type":13,"tag":762,"props":763,"children":764},"style",{},[765],{"type":18,"value":766},"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":768},[],"markdown",1725732619375]