[{"data":1,"prerenderedAt":319},["ShallowReactive",2],{"70kXMMk4Yk":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":318,"_id":4},"VkSwapchainCreateFlagBitsKHR","Bitmask controlling swapchain creation","VK_KHR_swapchain","enums",[],{"type":10,"children":11,"toc":316},"root",[12,45,180,310],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,25,27,34,36,43],{"type":18,"value":19},"text","Bits which ",{"type":13,"tag":21,"props":22,"children":24},"normative",{"type":23},"can",[],{"type":18,"value":26}," be set in ",{"type":13,"tag":28,"props":29,"children":31},"a",{"href":30},"/man/VkSwapchainCreateInfoKHR",[32],{"type":18,"value":33},"VkSwapchainCreateInfoKHR",{"type":18,"value":35},"::",{"type":13,"tag":37,"props":38,"children":40},"code",{"className":39},[],[41],{"type":18,"value":42},"flags",{"type":18,"value":44},",\nspecifying parameters of swapchain creation, are:",{"type":13,"tag":46,"props":47,"children":48},"code-group",{},[49,103],{"type":13,"tag":50,"props":51,"children":57},"pre",{"className":52,"code":53,"filename":54,"language":55,"meta":56,"style":56},"language-c shiki shiki-themes github-light-default github-dark-default","typedef enum VkSwapchainCreateFlagBitsKHR {\n\n} VkSwapchainCreateFlagBitsKHR;\n","C","c","",[58],{"type":13,"tag":37,"props":59,"children":60},{"__ignoreMap":56},[61,84,94],{"type":13,"tag":62,"props":63,"children":66},"span",{"class":64,"line":65},"line",1,[67,73,78],{"type":13,"tag":62,"props":68,"children":70},{"style":69},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[71],{"type":18,"value":72},"typedef",{"type":13,"tag":62,"props":74,"children":75},{"style":69},[76],{"type":18,"value":77}," enum",{"type":13,"tag":62,"props":79,"children":81},{"style":80},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[82],{"type":18,"value":83}," VkSwapchainCreateFlagBitsKHR {\n",{"type":13,"tag":62,"props":85,"children":87},{"class":64,"line":86},2,[88],{"type":13,"tag":62,"props":89,"children":91},{"emptyLinePlaceholder":90},true,[92],{"type":18,"value":93},"\n",{"type":13,"tag":62,"props":95,"children":97},{"class":64,"line":96},3,[98],{"type":13,"tag":62,"props":99,"children":100},{"style":80},[101],{"type":18,"value":102},"} VkSwapchainCreateFlagBitsKHR;\n",{"type":13,"tag":50,"props":104,"children":109},{"className":105,"code":106,"filename":107,"language":108,"meta":56,"style":56},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct SwapchainCreateFlagBitsKHR(u32);\nimpl SwapchainCreateFlagBitsKHR {\n\n}\n","Rust","rs",[110],{"type":13,"tag":37,"props":111,"children":112},{"__ignoreMap":56},[113,147,164,171],{"type":13,"tag":62,"props":114,"children":115},{"class":64,"line":65},[116,121,126,132,137,142],{"type":13,"tag":62,"props":117,"children":118},{"style":69},[119],{"type":18,"value":120},"pub",{"type":13,"tag":62,"props":122,"children":123},{"style":69},[124],{"type":18,"value":125}," struct",{"type":13,"tag":62,"props":127,"children":129},{"style":128},"--shiki-default:#953800;--shiki-dark:#FFA657",[130],{"type":18,"value":131}," SwapchainCreateFlagBitsKHR",{"type":13,"tag":62,"props":133,"children":134},{"style":80},[135],{"type":18,"value":136},"(",{"type":13,"tag":62,"props":138,"children":139},{"style":128},[140],{"type":18,"value":141},"u32",{"type":13,"tag":62,"props":143,"children":144},{"style":80},[145],{"type":18,"value":146},");\n",{"type":13,"tag":62,"props":148,"children":149},{"class":64,"line":86},[150,155,159],{"type":13,"tag":62,"props":151,"children":152},{"style":69},[153],{"type":18,"value":154},"impl",{"type":13,"tag":62,"props":156,"children":157},{"style":128},[158],{"type":18,"value":131},{"type":13,"tag":62,"props":160,"children":161},{"style":80},[162],{"type":18,"value":163}," {\n",{"type":13,"tag":62,"props":165,"children":166},{"class":64,"line":96},[167],{"type":13,"tag":62,"props":168,"children":169},{"emptyLinePlaceholder":90},[170],{"type":18,"value":93},{"type":13,"tag":62,"props":172,"children":174},{"class":64,"line":173},4,[175],{"type":13,"tag":62,"props":176,"children":177},{"style":80},[178],{"type":18,"value":179},"}\n",{"type":13,"tag":181,"props":182,"children":183},"ul",{},[184,226,277],{"type":13,"tag":185,"props":186,"children":187},"li",{},[188,194,196,202,204,210,212,216,218,224],{"type":13,"tag":37,"props":189,"children":191},{"className":190},[],[192],{"type":18,"value":193},"VK_SWAPCHAIN_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT_KHR",{"type":18,"value":195}," specifies\nthat images created from the swapchain (i.e. with the ",{"type":13,"tag":37,"props":197,"children":199},{"className":198},[],[200],{"type":18,"value":201},"swapchain",{"type":18,"value":203},"\nmember of ",{"type":13,"tag":28,"props":205,"children":207},{"href":206},"/man/VkImageSwapchainCreateInfoKHR",[208],{"type":18,"value":209},"VkImageSwapchainCreateInfoKHR",{"type":18,"value":211}," set to this swapchain’s\nhandle) ",{"type":13,"tag":21,"props":213,"children":215},{"type":214},"must",[],{"type":18,"value":217}," use ",{"type":13,"tag":37,"props":219,"children":221},{"className":220},[],[222],{"type":18,"value":223},"VK_IMAGE_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT",{"type":18,"value":225},".",{"type":13,"tag":185,"props":227,"children":228},{},[229,235,237,240,242,248,250,256,258,264,266,270,272,275],{"type":13,"tag":37,"props":230,"children":232},{"className":231},[],[233],{"type":18,"value":234},"VK_SWAPCHAIN_CREATE_MUTABLE_FORMAT_BIT_KHR",{"type":18,"value":236}," specifies that the\nimages of the swapchain ",{"type":13,"tag":21,"props":238,"children":239},{"type":23},[],{"type":18,"value":241}," be used to create a ",{"type":13,"tag":37,"props":243,"children":245},{"className":244},[],[246],{"type":18,"value":247},"VkImageView",{"type":18,"value":249}," with\na different format than what the swapchain was created with.\nThe list of allowed image view formats is specified by adding a\n",{"type":13,"tag":28,"props":251,"children":253},{"href":252},"/man/VkImageFormatListCreateInfo",[254],{"type":18,"value":255},"VkImageFormatListCreateInfo",{"type":18,"value":257}," structure to the ",{"type":13,"tag":37,"props":259,"children":261},{"className":260},[],[262],{"type":18,"value":263},"pNext",{"type":18,"value":265}," chain of\n",{"type":13,"tag":28,"props":267,"children":268},{"href":30},[269],{"type":18,"value":33},{"type":18,"value":271},".\nIn addition, this flag also specifies that the swapchain ",{"type":13,"tag":21,"props":273,"children":274},{"type":23},[],{"type":18,"value":276}," be created\nwith usage flags that are not supported for the format the swapchain is\ncreated with but are supported for at least one of the allowed image\nview formats.",{"type":13,"tag":185,"props":278,"children":279},{},[280,286,288,292,294,300,302,308],{"type":13,"tag":37,"props":281,"children":283},{"className":282},[],[284],{"type":18,"value":285},"VK_SWAPCHAIN_CREATE_DEFERRED_MEMORY_ALLOCATION_BIT_EXT",{"type":18,"value":287}," specifies\nthat the implementation ",{"type":13,"tag":21,"props":289,"children":291},{"type":290},"may",[],{"type":18,"value":293}," defer allocation of memory associated with\neach swapchain image until its index is to be returned from\n",{"type":13,"tag":28,"props":295,"children":297},{"href":296},"/man/vkAcquireNextImageKHR",[298],{"type":18,"value":299},"vkAcquireNextImageKHR",{"type":18,"value":301},"\nor ",{"type":13,"tag":28,"props":303,"children":305},{"href":304},"/man/vkAcquireNextImage2KHR",[306],{"type":18,"value":307},"vkAcquireNextImage2KHR",{"type":18,"value":309},"\nfor the first time.",{"type":13,"tag":311,"props":312,"children":313},"style",{},[314],{"type":18,"value":315},"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":56,"searchDepth":86,"depth":86,"links":317},[],"markdown",1725732589616]