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