[{"data":1,"prerenderedAt":391},["ShallowReactive",2],{"nqPDDxbqrX":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":390,"_id":4},"vkGetSwapchainStatusKHR","Get a swapchain's status","VK_KHR_shared_presentable_image","protos",[],{"type":10,"children":11,"toc":388},"root",[12,20,243,275,358,382],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","In order to query a swapchain’s status when rendering to a shared\npresentable image, call:",{"type":13,"tag":21,"props":22,"children":23},"code-group",{},[24,98],{"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 vkGetSwapchainStatusKHR(\n VkDevice device,\n VkSwapchainKHR swapchain);\n","C","c","",[33],{"type":13,"tag":34,"props":35,"children":36},"code",{"__ignoreMap":31},[37,59,79],{"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":38,"props":80,"children":82},{"class":40,"line":81},3,[83,88,93],{"type":13,"tag":38,"props":84,"children":85},{"style":45},[86],{"type":18,"value":87}," VkSwapchainKHR ",{"type":13,"tag":38,"props":89,"children":90},{"style":70},[91],{"type":18,"value":92},"swapchain",{"type":13,"tag":38,"props":94,"children":95},{"style":45},[96],{"type":18,"value":97},");\n",{"type":13,"tag":25,"props":99,"children":104},{"className":100,"code":101,"filename":102,"language":103,"meta":31,"style":31},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn get_swapchain_status_khr(\n device: crate :: vk :: vk::Device,\n swapchain: vk::SwapchainKHR,\n) -> vk::Result;\n","Rust","rs",[105],{"type":13,"tag":34,"props":106,"children":107},{"__ignoreMap":31},[108,131,182,211],{"type":13,"tag":38,"props":109,"children":110},{"class":40,"line":41},[111,117,122,127],{"type":13,"tag":38,"props":112,"children":114},{"style":113},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[115],{"type":18,"value":116},"pub",{"type":13,"tag":38,"props":118,"children":119},{"style":113},[120],{"type":18,"value":121}," fn",{"type":13,"tag":38,"props":123,"children":124},{"style":51},[125],{"type":18,"value":126}," get_swapchain_status_khr",{"type":13,"tag":38,"props":128,"children":129},{"style":45},[130],{"type":18,"value":58},{"type":13,"tag":38,"props":132,"children":133},{"class":40,"line":61},[134,139,144,149,154,159,164,169,173,178],{"type":13,"tag":38,"props":135,"children":136},{"style":45},[137],{"type":18,"value":138}," device",{"type":13,"tag":38,"props":140,"children":141},{"style":113},[142],{"type":18,"value":143},":",{"type":13,"tag":38,"props":145,"children":146},{"style":113},[147],{"type":18,"value":148}," crate",{"type":13,"tag":38,"props":150,"children":151},{"style":113},[152],{"type":18,"value":153}," ::",{"type":13,"tag":38,"props":155,"children":156},{"style":45},[157],{"type":18,"value":158}," vk ",{"type":13,"tag":38,"props":160,"children":161},{"style":113},[162],{"type":18,"value":163},"::",{"type":13,"tag":38,"props":165,"children":166},{"style":70},[167],{"type":18,"value":168}," vk",{"type":13,"tag":38,"props":170,"children":171},{"style":113},[172],{"type":18,"value":163},{"type":13,"tag":38,"props":174,"children":175},{"style":70},[176],{"type":18,"value":177},"Device",{"type":13,"tag":38,"props":179,"children":180},{"style":45},[181],{"type":18,"value":78},{"type":13,"tag":38,"props":183,"children":184},{"class":40,"line":81},[185,190,194,198,202,207],{"type":13,"tag":38,"props":186,"children":187},{"style":45},[188],{"type":18,"value":189}," swapchain",{"type":13,"tag":38,"props":191,"children":192},{"style":113},[193],{"type":18,"value":143},{"type":13,"tag":38,"props":195,"children":196},{"style":70},[197],{"type":18,"value":168},{"type":13,"tag":38,"props":199,"children":200},{"style":113},[201],{"type":18,"value":163},{"type":13,"tag":38,"props":203,"children":204},{"style":70},[205],{"type":18,"value":206},"SwapchainKHR",{"type":13,"tag":38,"props":208,"children":209},{"style":45},[210],{"type":18,"value":78},{"type":13,"tag":38,"props":212,"children":214},{"class":40,"line":213},4,[215,220,225,229,233,238],{"type":13,"tag":38,"props":216,"children":217},{"style":45},[218],{"type":18,"value":219},") ",{"type":13,"tag":38,"props":221,"children":222},{"style":113},[223],{"type":18,"value":224},"->",{"type":13,"tag":38,"props":226,"children":227},{"style":70},[228],{"type":18,"value":168},{"type":13,"tag":38,"props":230,"children":231},{"style":113},[232],{"type":18,"value":163},{"type":13,"tag":38,"props":234,"children":235},{"style":70},[236],{"type":18,"value":237},"Result",{"type":13,"tag":38,"props":239,"children":240},{"style":45},[241],{"type":18,"value":242},";\n",{"type":13,"tag":244,"props":245,"children":246},"ul",{},[247,265],{"type":13,"tag":248,"props":249,"children":250},"li",{},[251,256,258,263],{"type":13,"tag":34,"props":252,"children":254},{"className":253},[],[255],{"type":18,"value":73},{"type":18,"value":257}," is the device associated with ",{"type":13,"tag":34,"props":259,"children":261},{"className":260},[],[262],{"type":18,"value":92},{"type":18,"value":264},".",{"type":13,"tag":248,"props":266,"children":267},{},[268,273],{"type":13,"tag":34,"props":269,"children":271},{"className":270},[],[272],{"type":18,"value":92},{"type":18,"value":274}," is the swapchain to query.",{"type":13,"tag":276,"props":277,"children":279},"validity-group",{"name":278},"Valid Usage (Implicit)",[280,311,335],{"type":13,"tag":281,"props":282,"children":284},"validity-field",{"name":283},"VUID-vkGetSwapchainStatusKHR-device-parameter",[285],{"type":13,"tag":14,"props":286,"children":287},{},[288,293,295,300,302,309],{"type":13,"tag":34,"props":289,"children":291},{"className":290},[],[292],{"type":18,"value":73},{"type":18,"value":294}," ",{"type":13,"tag":296,"props":297,"children":299},"normative",{"type":298},"must",[],{"type":18,"value":301}," be a valid ",{"type":13,"tag":303,"props":304,"children":306},"a",{"href":305},"/man/VkDevice",[307],{"type":18,"value":308},"VkDevice",{"type":18,"value":310}," handle",{"type":13,"tag":281,"props":312,"children":314},{"name":313},"VUID-vkGetSwapchainStatusKHR-swapchain-parameter",[315],{"type":13,"tag":14,"props":316,"children":317},{},[318,323,324,327,328,334],{"type":13,"tag":34,"props":319,"children":321},{"className":320},[],[322],{"type":18,"value":92},{"type":18,"value":294},{"type":13,"tag":296,"props":325,"children":326},{"type":298},[],{"type":18,"value":301},{"type":13,"tag":303,"props":329,"children":331},{"href":330},"/man/VkSwapchainKHR",[332],{"type":18,"value":333},"VkSwapchainKHR",{"type":18,"value":310},{"type":13,"tag":281,"props":336,"children":338},{"name":337},"VUID-vkGetSwapchainStatusKHR-swapchain-parent",[339],{"type":13,"tag":14,"props":340,"children":341},{},[342,347,348,351,353],{"type":13,"tag":34,"props":343,"children":345},{"className":344},[],[346],{"type":18,"value":92},{"type":18,"value":294},{"type":13,"tag":296,"props":349,"children":350},{"type":298},[],{"type":18,"value":352}," have been created, allocated, or retrieved from ",{"type":13,"tag":34,"props":354,"children":356},{"className":355},[],[357],{"type":18,"value":73},{"type":13,"tag":359,"props":360,"children":362},"validity-box",{"name":361},"Host Synchronization",[363],{"type":13,"tag":244,"props":364,"children":365},{},[366],{"type":13,"tag":248,"props":367,"children":368},{},[369,371,376,377,380],{"type":18,"value":370},"Host access to ",{"type":13,"tag":34,"props":372,"children":374},{"className":373},[],[375],{"type":18,"value":92},{"type":18,"value":294},{"type":13,"tag":296,"props":378,"children":379},{"type":298},[],{"type":18,"value":381}," be externally synchronized\n::",{"type":13,"tag":383,"props":384,"children":385},"style",{},[386],{"type":18,"value":387},"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":389},[],"markdown",1725732622034]