[{"data":1,"prerenderedAt":313},["ShallowReactive",2],{"Wmpuk2jeva":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":312,"_id":4},"vkDeviceWaitIdle","Wait for a device to become idle","VK_VERSION_1_0","protos",[],{"type":10,"children":11,"toc":310},"root",[12,20,196,211,236,272,304],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","To wait on the host for the completion of outstanding queue operations for\nall queues on a given logical device, call:",{"type":13,"tag":21,"props":22,"children":23},"code-group",{},[24,79],{"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 vkDeviceWaitIdle(\n VkDevice device);\n","C","c","",[33],{"type":13,"tag":34,"props":35,"children":36},"code",{"__ignoreMap":31},[37,59],{"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}," VkDevice ",{"type":13,"tag":38,"props":69,"children":71},{"style":70},"--shiki-default:#953800;--shiki-dark:#FFA657",[72],{"type":18,"value":73},"device",{"type":13,"tag":38,"props":75,"children":76},{"style":45},[77],{"type":18,"value":78},");\n",{"type":13,"tag":25,"props":80,"children":85},{"className":81,"code":82,"filename":83,"language":84,"meta":31,"style":31},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn device_wait_idle(\n device: crate :: vk :: vk::Device,\n) -> vk::Result;\n","Rust","rs",[86],{"type":13,"tag":34,"props":87,"children":88},{"__ignoreMap":31},[89,112,164],{"type":13,"tag":38,"props":90,"children":91},{"class":40,"line":41},[92,98,103,108],{"type":13,"tag":38,"props":93,"children":95},{"style":94},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[96],{"type":18,"value":97},"pub",{"type":13,"tag":38,"props":99,"children":100},{"style":94},[101],{"type":18,"value":102}," fn",{"type":13,"tag":38,"props":104,"children":105},{"style":51},[106],{"type":18,"value":107}," device_wait_idle",{"type":13,"tag":38,"props":109,"children":110},{"style":45},[111],{"type":18,"value":58},{"type":13,"tag":38,"props":113,"children":114},{"class":40,"line":61},[115,120,125,130,135,140,145,150,154,159],{"type":13,"tag":38,"props":116,"children":117},{"style":45},[118],{"type":18,"value":119}," device",{"type":13,"tag":38,"props":121,"children":122},{"style":94},[123],{"type":18,"value":124},":",{"type":13,"tag":38,"props":126,"children":127},{"style":94},[128],{"type":18,"value":129}," crate",{"type":13,"tag":38,"props":131,"children":132},{"style":94},[133],{"type":18,"value":134}," ::",{"type":13,"tag":38,"props":136,"children":137},{"style":45},[138],{"type":18,"value":139}," vk ",{"type":13,"tag":38,"props":141,"children":142},{"style":94},[143],{"type":18,"value":144},"::",{"type":13,"tag":38,"props":146,"children":147},{"style":70},[148],{"type":18,"value":149}," vk",{"type":13,"tag":38,"props":151,"children":152},{"style":94},[153],{"type":18,"value":144},{"type":13,"tag":38,"props":155,"children":156},{"style":70},[157],{"type":18,"value":158},"Device",{"type":13,"tag":38,"props":160,"children":161},{"style":45},[162],{"type":18,"value":163},",\n",{"type":13,"tag":38,"props":165,"children":167},{"class":40,"line":166},3,[168,173,178,182,186,191],{"type":13,"tag":38,"props":169,"children":170},{"style":45},[171],{"type":18,"value":172},") ",{"type":13,"tag":38,"props":174,"children":175},{"style":94},[176],{"type":18,"value":177},"->",{"type":13,"tag":38,"props":179,"children":180},{"style":70},[181],{"type":18,"value":149},{"type":13,"tag":38,"props":183,"children":184},{"style":94},[185],{"type":18,"value":144},{"type":13,"tag":38,"props":187,"children":188},{"style":70},[189],{"type":18,"value":190},"Result",{"type":13,"tag":38,"props":192,"children":193},{"style":45},[194],{"type":18,"value":195},";\n",{"type":13,"tag":197,"props":198,"children":199},"ul",{},[200],{"type":13,"tag":201,"props":202,"children":203},"li",{},[204,209],{"type":13,"tag":34,"props":205,"children":207},{"className":206},[],[208],{"type":18,"value":73},{"type":18,"value":210}," is the logical device to idle.",{"type":13,"tag":14,"props":212,"children":213},{},[214,219,221,227,229,234],{"type":13,"tag":34,"props":215,"children":217},{"className":216},[],[218],{"type":18,"value":4},{"type":18,"value":220}," is equivalent to calling ",{"type":13,"tag":34,"props":222,"children":224},{"className":223},[],[225],{"type":18,"value":226},"vkQueueWaitIdle",{"type":18,"value":228}," for\nall queues owned by ",{"type":13,"tag":34,"props":230,"children":232},{"className":231},[],[233],{"type":18,"value":73},{"type":18,"value":235},".",{"type":13,"tag":237,"props":238,"children":240},"validity-group",{"name":239},"Valid Usage (Implicit)",[241],{"type":13,"tag":242,"props":243,"children":245},"validity-field",{"name":244},"VUID-vkDeviceWaitIdle-device-parameter",[246],{"type":13,"tag":14,"props":247,"children":248},{},[249,254,256,261,263,270],{"type":13,"tag":34,"props":250,"children":252},{"className":251},[],[253],{"type":18,"value":73},{"type":18,"value":255}," ",{"type":13,"tag":257,"props":258,"children":260},"normative",{"type":259},"must",[],{"type":18,"value":262}," be a valid ",{"type":13,"tag":264,"props":265,"children":267},"a",{"href":266},"/man/VkDevice",[268],{"type":18,"value":269},"VkDevice",{"type":18,"value":271}," handle",{"type":13,"tag":273,"props":274,"children":276},"validity-box",{"name":275},"Host Synchronization",[277],{"type":13,"tag":197,"props":278,"children":279},{},[280],{"type":13,"tag":201,"props":281,"children":282},{},[283,285,291,293,298,299,302],{"type":18,"value":284},"Host access to all ",{"type":13,"tag":34,"props":286,"children":288},{"className":287},[],[289],{"type":18,"value":290},"VkQueue",{"type":18,"value":292}," objects created from ",{"type":13,"tag":34,"props":294,"children":296},{"className":295},[],[297],{"type":18,"value":73},{"type":18,"value":255},{"type":13,"tag":257,"props":300,"children":301},{"type":259},[],{"type":18,"value":303}," be externally synchronized\n::",{"type":13,"tag":305,"props":306,"children":307},"style",{},[308],{"type":18,"value":309},"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":311},[],"markdown",1725732616100]