[{"data":1,"prerenderedAt":627},["ShallowReactive",2],{"llMQX2k7nU":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":626,"_id":4},"VkBindImageMemorySwapchainInfoKHR","Structure specifying swapchain image memory to bind to","VK_KHR_swapchain, VK_KHR_device_group","structs",[],{"type":10,"children":11,"toc":624},"root",[12,45,57,302,380,427,462,540,594,618],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27,29,36,38,43],{"type":18,"value":19},"text","If the ",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":26},"pNext",{"type":18,"value":28}," chain of ",{"type":13,"tag":30,"props":31,"children":33},"a",{"href":32},"/man/VkBindImageMemoryInfo",[34],{"type":18,"value":35},"VkBindImageMemoryInfo",{"type":18,"value":37}," includes a\n",{"type":13,"tag":21,"props":39,"children":41},{"className":40},[],[42],{"type":18,"value":4},{"type":18,"value":44}," structure, then that structure\nincludes a swapchain handle and image index indicating that the image will\nbe bound to memory from that swapchain.",{"type":13,"tag":14,"props":46,"children":47},{},[48,50,55],{"type":18,"value":49},"The ",{"type":13,"tag":21,"props":51,"children":53},{"className":52},[],[54],{"type":18,"value":4},{"type":18,"value":56}," structure is defined as:",{"type":13,"tag":58,"props":59,"children":60},"code-group",{},[61,156],{"type":13,"tag":62,"props":63,"children":69},"pre",{"className":64,"code":65,"filename":66,"language":67,"meta":68,"style":68},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkBindImageMemorySwapchainInfoKHR {\n VkStructureType sType;\n const void* pNext;\n VkSwapchainKHR swapchain;\n uint32_t imageIndex;\n} VkBindImageMemorySwapchainInfoKHR;\n","C","c","",[70],{"type":13,"tag":21,"props":71,"children":72},{"__ignoreMap":68},[73,96,105,124,133,147],{"type":13,"tag":74,"props":75,"children":78},"span",{"class":76,"line":77},"line",1,[79,85,90],{"type":13,"tag":74,"props":80,"children":82},{"style":81},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[83],{"type":18,"value":84},"typedef",{"type":13,"tag":74,"props":86,"children":87},{"style":81},[88],{"type":18,"value":89}," struct",{"type":13,"tag":74,"props":91,"children":93},{"style":92},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[94],{"type":18,"value":95}," VkBindImageMemorySwapchainInfoKHR {\n",{"type":13,"tag":74,"props":97,"children":99},{"class":76,"line":98},2,[100],{"type":13,"tag":74,"props":101,"children":102},{"style":92},[103],{"type":18,"value":104}," VkStructureType sType;\n",{"type":13,"tag":74,"props":106,"children":108},{"class":76,"line":107},3,[109,114,119],{"type":13,"tag":74,"props":110,"children":111},{"style":81},[112],{"type":18,"value":113}," const",{"type":13,"tag":74,"props":115,"children":116},{"style":81},[117],{"type":18,"value":118}," void*",{"type":13,"tag":74,"props":120,"children":121},{"style":92},[122],{"type":18,"value":123}," pNext;\n",{"type":13,"tag":74,"props":125,"children":127},{"class":76,"line":126},4,[128],{"type":13,"tag":74,"props":129,"children":130},{"style":92},[131],{"type":18,"value":132}," VkSwapchainKHR swapchain;\n",{"type":13,"tag":74,"props":134,"children":136},{"class":76,"line":135},5,[137,142],{"type":13,"tag":74,"props":138,"children":139},{"style":81},[140],{"type":18,"value":141}," uint32_t",{"type":13,"tag":74,"props":143,"children":144},{"style":92},[145],{"type":18,"value":146}," imageIndex;\n",{"type":13,"tag":74,"props":148,"children":150},{"class":76,"line":149},6,[151],{"type":13,"tag":74,"props":152,"children":153},{"style":92},[154],{"type":18,"value":155},"} VkBindImageMemorySwapchainInfoKHR;\n",{"type":13,"tag":62,"props":157,"children":162},{"className":158,"code":159,"filename":160,"language":161,"meta":68,"style":68},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct BindImageMemorySwapchainInfoKHR {\n s_type: vk::StructureType,\n p_next: *const c_void,\n swapchain: vk::SwapchainKHR,\n image_index: u32,\n}\n","Rust","rs",[163],{"type":13,"tag":21,"props":164,"children":165},{"__ignoreMap":68},[166,189,222,244,273,294],{"type":13,"tag":74,"props":167,"children":168},{"class":76,"line":77},[169,174,178,184],{"type":13,"tag":74,"props":170,"children":171},{"style":81},[172],{"type":18,"value":173},"pub",{"type":13,"tag":74,"props":175,"children":176},{"style":81},[177],{"type":18,"value":89},{"type":13,"tag":74,"props":179,"children":181},{"style":180},"--shiki-default:#953800;--shiki-dark:#FFA657",[182],{"type":18,"value":183}," BindImageMemorySwapchainInfoKHR",{"type":13,"tag":74,"props":185,"children":186},{"style":92},[187],{"type":18,"value":188}," {\n",{"type":13,"tag":74,"props":190,"children":191},{"class":76,"line":98},[192,197,202,207,212,217],{"type":13,"tag":74,"props":193,"children":194},{"style":92},[195],{"type":18,"value":196}," s_type",{"type":13,"tag":74,"props":198,"children":199},{"style":81},[200],{"type":18,"value":201},":",{"type":13,"tag":74,"props":203,"children":204},{"style":180},[205],{"type":18,"value":206}," vk",{"type":13,"tag":74,"props":208,"children":209},{"style":81},[210],{"type":18,"value":211},"::",{"type":13,"tag":74,"props":213,"children":214},{"style":180},[215],{"type":18,"value":216},"StructureType",{"type":13,"tag":74,"props":218,"children":219},{"style":92},[220],{"type":18,"value":221},",\n",{"type":13,"tag":74,"props":223,"children":224},{"class":76,"line":107},[225,230,234,239],{"type":13,"tag":74,"props":226,"children":227},{"style":92},[228],{"type":18,"value":229}," p_next",{"type":13,"tag":74,"props":231,"children":232},{"style":81},[233],{"type":18,"value":201},{"type":13,"tag":74,"props":235,"children":236},{"style":81},[237],{"type":18,"value":238}," *const",{"type":13,"tag":74,"props":240,"children":241},{"style":92},[242],{"type":18,"value":243}," c_void,\n",{"type":13,"tag":74,"props":245,"children":246},{"class":76,"line":126},[247,252,256,260,264,269],{"type":13,"tag":74,"props":248,"children":249},{"style":92},[250],{"type":18,"value":251}," swapchain",{"type":13,"tag":74,"props":253,"children":254},{"style":81},[255],{"type":18,"value":201},{"type":13,"tag":74,"props":257,"children":258},{"style":180},[259],{"type":18,"value":206},{"type":13,"tag":74,"props":261,"children":262},{"style":81},[263],{"type":18,"value":211},{"type":13,"tag":74,"props":265,"children":266},{"style":180},[267],{"type":18,"value":268},"SwapchainKHR",{"type":13,"tag":74,"props":270,"children":271},{"style":92},[272],{"type":18,"value":221},{"type":13,"tag":74,"props":274,"children":275},{"class":76,"line":135},[276,281,285,290],{"type":13,"tag":74,"props":277,"children":278},{"style":92},[279],{"type":18,"value":280}," image_index",{"type":13,"tag":74,"props":282,"children":283},{"style":81},[284],{"type":18,"value":201},{"type":13,"tag":74,"props":286,"children":287},{"style":180},[288],{"type":18,"value":289}," u32",{"type":13,"tag":74,"props":291,"children":292},{"style":92},[293],{"type":18,"value":221},{"type":13,"tag":74,"props":295,"children":296},{"class":76,"line":149},[297],{"type":13,"tag":74,"props":298,"children":299},{"style":92},[300],{"type":18,"value":301},"}\n",{"type":13,"tag":303,"props":304,"children":305},"ul",{},[306,326,344,362],{"type":13,"tag":307,"props":308,"children":309},"li",{},[310,316,318,324],{"type":13,"tag":21,"props":311,"children":313},{"className":312},[],[314],{"type":18,"value":315},"sType",{"type":18,"value":317}," is a ",{"type":13,"tag":30,"props":319,"children":321},{"href":320},"/man/VkStructureType",[322],{"type":18,"value":323},"VkStructureType",{"type":18,"value":325}," value identifying this structure.",{"type":13,"tag":307,"props":327,"children":328},{},[329,334,336,342],{"type":13,"tag":21,"props":330,"children":332},{"className":331},[],[333],{"type":18,"value":26},{"type":18,"value":335}," is ",{"type":13,"tag":21,"props":337,"children":339},{"className":338},[],[340],{"type":18,"value":341},"NULL",{"type":18,"value":343}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":307,"props":345,"children":346},{},[347,353,354,360],{"type":13,"tag":21,"props":348,"children":350},{"className":349},[],[351],{"type":18,"value":352},"swapchain",{"type":18,"value":335},{"type":13,"tag":30,"props":355,"children":357},{"href":356},"/man/VK_NULL_HANDLE",[358],{"type":18,"value":359},"VK_NULL_HANDLE",{"type":18,"value":361}," or a swapchain handle.",{"type":13,"tag":307,"props":363,"children":364},{},[365,371,373,378],{"type":13,"tag":21,"props":366,"children":368},{"className":367},[],[369],{"type":18,"value":370},"imageIndex",{"type":18,"value":372}," is an image index within ",{"type":13,"tag":21,"props":374,"children":376},{"className":375},[],[377],{"type":18,"value":352},{"type":18,"value":379},".",{"type":13,"tag":14,"props":381,"children":382},{},[383,385,390,392,397,399,404,406,411,413,419,420,426],{"type":18,"value":384},"If ",{"type":13,"tag":21,"props":386,"children":388},{"className":387},[],[389],{"type":18,"value":352},{"type":18,"value":391}," is not ",{"type":13,"tag":21,"props":393,"children":395},{"className":394},[],[396],{"type":18,"value":341},{"type":18,"value":398},", the ",{"type":13,"tag":21,"props":400,"children":402},{"className":401},[],[403],{"type":18,"value":352},{"type":18,"value":405}," and ",{"type":13,"tag":21,"props":407,"children":409},{"className":408},[],[410],{"type":18,"value":370},{"type":18,"value":412},"\nare used to determine the memory that the image is bound to, instead of\n",{"type":13,"tag":21,"props":414,"children":416},{"className":415},[],[417],{"type":18,"value":418},"memory",{"type":18,"value":405},{"type":13,"tag":21,"props":421,"children":423},{"className":422},[],[424],{"type":18,"value":425},"memoryOffset",{"type":18,"value":379},{"type":13,"tag":14,"props":428,"children":429},{},[430,432,437,439,445,447,453,455,461],{"type":18,"value":431},"Memory ",{"type":13,"tag":433,"props":434,"children":436},"normative",{"type":435},"can",[],{"type":18,"value":438}," be bound to a swapchain and use the ",{"type":13,"tag":21,"props":440,"children":442},{"className":441},[],[443],{"type":18,"value":444},"pDeviceIndices",{"type":18,"value":446}," or\n",{"type":13,"tag":21,"props":448,"children":450},{"className":449},[],[451],{"type":18,"value":452},"pSplitInstanceBindRegions",{"type":18,"value":454}," members of\n",{"type":13,"tag":30,"props":456,"children":458},{"href":457},"/man/VkBindImageMemoryDeviceGroupInfo",[459],{"type":18,"value":460},"VkBindImageMemoryDeviceGroupInfo",{"type":18,"value":379},{"type":13,"tag":463,"props":464,"children":466},"validity-group",{"name":465},"Valid Usage",[467,493],{"type":13,"tag":468,"props":469,"children":471},"validity-field",{"name":470},"VUID-VkBindImageMemorySwapchainInfoKHR-imageIndex-01644",[472],{"type":13,"tag":14,"props":473,"children":474},{},[475,480,482,486,488],{"type":13,"tag":21,"props":476,"children":478},{"className":477},[],[479],{"type":18,"value":370},{"type":18,"value":481}," ",{"type":13,"tag":433,"props":483,"children":485},{"type":484},"must",[],{"type":18,"value":487}," be less than the number of images in\n",{"type":13,"tag":21,"props":489,"children":491},{"className":490},[],[492],{"type":18,"value":352},{"type":13,"tag":468,"props":494,"children":496},{"name":495},"VUID-VkBindImageMemorySwapchainInfoKHR-swapchain-07756",[497],{"type":13,"tag":14,"props":498,"children":499},{},[500,501,506,508,514,515,520,521,524,526,532,534],{"type":18,"value":19},{"type":13,"tag":21,"props":502,"children":504},{"className":503},[],[505],{"type":18,"value":352},{"type":18,"value":507}," has been created with\n",{"type":13,"tag":21,"props":509,"children":511},{"className":510},[],[512],{"type":18,"value":513},"VK_SWAPCHAIN_CREATE_DEFERRED_MEMORY_ALLOCATION_BIT_EXT",{"type":18,"value":221},{"type":13,"tag":21,"props":516,"children":518},{"className":517},[],[519],{"type":18,"value":370},{"type":18,"value":481},{"type":13,"tag":433,"props":522,"children":523},{"type":484},[],{"type":18,"value":525}," be one that has previously been returned by\n",{"type":13,"tag":30,"props":527,"children":529},{"href":528},"/man/vkAcquireNextImageKHR",[530],{"type":18,"value":531},"vkAcquireNextImageKHR",{"type":18,"value":533}," or ",{"type":13,"tag":30,"props":535,"children":537},{"href":536},"/man/vkAcquireNextImage2KHR",[538],{"type":18,"value":539},"vkAcquireNextImage2KHR",{"type":13,"tag":463,"props":541,"children":543},{"name":542},"Valid Usage (Implicit)",[544,568],{"type":13,"tag":468,"props":545,"children":547},{"name":546},"VUID-VkBindImageMemorySwapchainInfoKHR-sType-sType",[548],{"type":13,"tag":14,"props":549,"children":550},{},[551,556,557,560,562],{"type":13,"tag":21,"props":552,"children":554},{"className":553},[],[555],{"type":18,"value":315},{"type":18,"value":481},{"type":13,"tag":433,"props":558,"children":559},{"type":484},[],{"type":18,"value":561}," be ",{"type":13,"tag":21,"props":563,"children":565},{"className":564},[],[566],{"type":18,"value":567},"VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_SWAPCHAIN_INFO_KHR",{"type":13,"tag":468,"props":569,"children":571},{"name":570},"VUID-VkBindImageMemorySwapchainInfoKHR-swapchain-parameter",[572],{"type":13,"tag":14,"props":573,"children":574},{},[575,580,581,584,586,592],{"type":13,"tag":21,"props":576,"children":578},{"className":577},[],[579],{"type":18,"value":352},{"type":18,"value":481},{"type":13,"tag":433,"props":582,"children":583},{"type":484},[],{"type":18,"value":585}," be a valid ",{"type":13,"tag":30,"props":587,"children":589},{"href":588},"/man/VkSwapchainKHR",[590],{"type":18,"value":591},"VkSwapchainKHR",{"type":18,"value":593}," handle",{"type":13,"tag":595,"props":596,"children":598},"validity-box",{"name":597},"Host Synchronization",[599],{"type":13,"tag":303,"props":600,"children":601},{},[602],{"type":13,"tag":307,"props":603,"children":604},{},[605,607,612,613,616],{"type":18,"value":606},"Host access to ",{"type":13,"tag":21,"props":608,"children":610},{"className":609},[],[611],{"type":18,"value":352},{"type":18,"value":481},{"type":13,"tag":433,"props":614,"children":615},{"type":484},[],{"type":18,"value":617}," be externally synchronized\n::",{"type":13,"tag":619,"props":620,"children":621},"style",{},[622],{"type":18,"value":623},"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":68,"searchDepth":98,"depth":98,"links":625},[],"markdown",1729612433994]