[{"data":1,"prerenderedAt":452},["ShallowReactive",2],{"4lMjFez67z":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":451,"_id":4},"VkImageSwapchainCreateInfoKHR","Specify that an image will be bound to swapchain memory","VK_KHR_swapchain, VK_KHR_device_group","structs",[],{"type":10,"children":11,"toc":449},"root",[12,45,57,267,327,376,443],{"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/VkImageCreateInfo",[34],{"type":18,"value":35},"VkImageCreateInfo",{"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 includes\na swapchain handle indicating that the image will be bound to memory from\nthat 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,142],{"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 VkImageSwapchainCreateInfoKHR {\n VkStructureType sType;\n const void* pNext;\n VkSwapchainKHR swapchain;\n} VkImageSwapchainCreateInfoKHR;\n","C","c","",[70],{"type":13,"tag":21,"props":71,"children":72},{"__ignoreMap":68},[73,96,105,124,133],{"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}," VkImageSwapchainCreateInfoKHR {\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],{"type":13,"tag":74,"props":138,"children":139},{"style":92},[140],{"type":18,"value":141},"} VkImageSwapchainCreateInfoKHR;\n",{"type":13,"tag":62,"props":143,"children":148},{"className":144,"code":145,"filename":146,"language":147,"meta":68,"style":68},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct ImageSwapchainCreateInfoKHR {\n s_type: vk::StructureType,\n p_next: *const c_void,\n swapchain: vk::SwapchainKHR,\n}\n","Rust","rs",[149],{"type":13,"tag":21,"props":150,"children":151},{"__ignoreMap":68},[152,175,208,230,259],{"type":13,"tag":74,"props":153,"children":154},{"class":76,"line":77},[155,160,164,170],{"type":13,"tag":74,"props":156,"children":157},{"style":81},[158],{"type":18,"value":159},"pub",{"type":13,"tag":74,"props":161,"children":162},{"style":81},[163],{"type":18,"value":89},{"type":13,"tag":74,"props":165,"children":167},{"style":166},"--shiki-default:#953800;--shiki-dark:#FFA657",[168],{"type":18,"value":169}," ImageSwapchainCreateInfoKHR",{"type":13,"tag":74,"props":171,"children":172},{"style":92},[173],{"type":18,"value":174}," {\n",{"type":13,"tag":74,"props":176,"children":177},{"class":76,"line":98},[178,183,188,193,198,203],{"type":13,"tag":74,"props":179,"children":180},{"style":92},[181],{"type":18,"value":182}," s_type",{"type":13,"tag":74,"props":184,"children":185},{"style":81},[186],{"type":18,"value":187},":",{"type":13,"tag":74,"props":189,"children":190},{"style":166},[191],{"type":18,"value":192}," vk",{"type":13,"tag":74,"props":194,"children":195},{"style":81},[196],{"type":18,"value":197},"::",{"type":13,"tag":74,"props":199,"children":200},{"style":166},[201],{"type":18,"value":202},"StructureType",{"type":13,"tag":74,"props":204,"children":205},{"style":92},[206],{"type":18,"value":207},",\n",{"type":13,"tag":74,"props":209,"children":210},{"class":76,"line":107},[211,216,220,225],{"type":13,"tag":74,"props":212,"children":213},{"style":92},[214],{"type":18,"value":215}," p_next",{"type":13,"tag":74,"props":217,"children":218},{"style":81},[219],{"type":18,"value":187},{"type":13,"tag":74,"props":221,"children":222},{"style":81},[223],{"type":18,"value":224}," *const",{"type":13,"tag":74,"props":226,"children":227},{"style":92},[228],{"type":18,"value":229}," c_void,\n",{"type":13,"tag":74,"props":231,"children":232},{"class":76,"line":126},[233,238,242,246,250,255],{"type":13,"tag":74,"props":234,"children":235},{"style":92},[236],{"type":18,"value":237}," swapchain",{"type":13,"tag":74,"props":239,"children":240},{"style":81},[241],{"type":18,"value":187},{"type":13,"tag":74,"props":243,"children":244},{"style":166},[245],{"type":18,"value":192},{"type":13,"tag":74,"props":247,"children":248},{"style":81},[249],{"type":18,"value":197},{"type":13,"tag":74,"props":251,"children":252},{"style":166},[253],{"type":18,"value":254},"SwapchainKHR",{"type":13,"tag":74,"props":256,"children":257},{"style":92},[258],{"type":18,"value":207},{"type":13,"tag":74,"props":260,"children":261},{"class":76,"line":135},[262],{"type":13,"tag":74,"props":263,"children":264},{"style":92},[265],{"type":18,"value":266},"}\n",{"type":13,"tag":268,"props":269,"children":270},"ul",{},[271,291,309],{"type":13,"tag":272,"props":273,"children":274},"li",{},[275,281,283,289],{"type":13,"tag":21,"props":276,"children":278},{"className":277},[],[279],{"type":18,"value":280},"sType",{"type":18,"value":282}," is a ",{"type":13,"tag":30,"props":284,"children":286},{"href":285},"/man/VkStructureType",[287],{"type":18,"value":288},"VkStructureType",{"type":18,"value":290}," value identifying this structure.",{"type":13,"tag":272,"props":292,"children":293},{},[294,299,301,307],{"type":13,"tag":21,"props":295,"children":297},{"className":296},[],[298],{"type":18,"value":26},{"type":18,"value":300}," is ",{"type":13,"tag":21,"props":302,"children":304},{"className":303},[],[305],{"type":18,"value":306},"NULL",{"type":18,"value":308}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":272,"props":310,"children":311},{},[312,318,319,325],{"type":13,"tag":21,"props":313,"children":315},{"className":314},[],[316],{"type":18,"value":317},"swapchain",{"type":18,"value":300},{"type":13,"tag":30,"props":320,"children":322},{"href":321},"/man/VK_NULL_HANDLE",[323],{"type":18,"value":324},"VK_NULL_HANDLE",{"type":18,"value":326}," or a handle of a swapchain that\nthe image will be bound to.",{"type":13,"tag":328,"props":329,"children":331},"validity-group",{"name":330},"Valid Usage",[332],{"type":13,"tag":333,"props":334,"children":336},"validity-field",{"name":335},"VUID-VkImageSwapchainCreateInfoKHR-swapchain-00995",[337],{"type":13,"tag":14,"props":338,"children":339},{},[340,342,347,349,353,355,359,361,366,368,374],{"type":18,"value":341},"If ",{"type":13,"tag":21,"props":343,"children":345},{"className":344},[],[346],{"type":18,"value":317},{"type":18,"value":348}," is not ",{"type":13,"tag":30,"props":350,"children":351},{"href":321},[352],{"type":18,"value":324},{"type":18,"value":354},", the fields of\n",{"type":13,"tag":30,"props":356,"children":357},{"href":32},[358],{"type":18,"value":35},{"type":18,"value":360}," ",{"type":13,"tag":362,"props":363,"children":365},"normative",{"type":364},"must",[],{"type":18,"value":367}," match the\n",{"type":13,"tag":30,"props":369,"children":371},{"href":370},"/man/vkCreateSwapchainKHR#swapchain-wsi-image-create-info",[372],{"type":18,"value":373},"implied image creation parameters",{"type":18,"value":375},"\nof the swapchain",{"type":13,"tag":328,"props":377,"children":379},{"name":378},"Valid Usage (Implicit)",[380,404],{"type":13,"tag":333,"props":381,"children":383},{"name":382},"VUID-VkImageSwapchainCreateInfoKHR-sType-sType",[384],{"type":13,"tag":14,"props":385,"children":386},{},[387,392,393,396,398],{"type":13,"tag":21,"props":388,"children":390},{"className":389},[],[391],{"type":18,"value":280},{"type":18,"value":360},{"type":13,"tag":362,"props":394,"children":395},{"type":364},[],{"type":18,"value":397}," be ",{"type":13,"tag":21,"props":399,"children":401},{"className":400},[],[402],{"type":18,"value":403},"VK_STRUCTURE_TYPE_IMAGE_SWAPCHAIN_CREATE_INFO_KHR",{"type":13,"tag":333,"props":405,"children":407},{"name":406},"VUID-VkImageSwapchainCreateInfoKHR-swapchain-parameter",[408],{"type":13,"tag":14,"props":409,"children":410},{},[411,412,417,418,422,424,429,430,433,435,441],{"type":18,"value":341},{"type":13,"tag":21,"props":413,"children":415},{"className":414},[],[416],{"type":18,"value":317},{"type":18,"value":348},{"type":13,"tag":30,"props":419,"children":420},{"href":321},[421],{"type":18,"value":324},{"type":18,"value":423},", ",{"type":13,"tag":21,"props":425,"children":427},{"className":426},[],[428],{"type":18,"value":317},{"type":18,"value":360},{"type":13,"tag":362,"props":431,"children":432},{"type":364},[],{"type":18,"value":434}," be a valid ",{"type":13,"tag":30,"props":436,"children":438},{"href":437},"/man/VkSwapchainKHR",[439],{"type":18,"value":440},"VkSwapchainKHR",{"type":18,"value":442}," handle",{"type":13,"tag":444,"props":445,"children":446},"style",{},[447],{"type":18,"value":448},"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":450},[],"markdown",1729612453048]