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