[{"data":1,"prerenderedAt":443},["ShallowReactive",2],{"yQHbONnFVq":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":442,"_id":4},"VkDeviceGroupSwapchainCreateInfoKHR","Structure specifying parameters of a newly created swapchain object","VK_KHR_swapchain, VK_KHR_device_group","structs",[],{"type":10,"children":11,"toc":440},"root",[12,52,64,274,332,352,434],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27,29,36,38,43,45,50],{"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/VkSwapchainCreateInfoKHR",[34],{"type":18,"value":35},"VkSwapchainCreateInfoKHR",{"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 set of device group present modes that the swapchain ",{"type":13,"tag":46,"props":47,"children":49},"normative",{"type":48},"can",[],{"type":18,"value":51}," be used\nwith.",{"type":13,"tag":14,"props":53,"children":54},{},[55,57,62],{"type":18,"value":56},"The ",{"type":13,"tag":21,"props":58,"children":60},{"className":59},[],[61],{"type":18,"value":4},{"type":18,"value":63}," structure is defined as:",{"type":13,"tag":65,"props":66,"children":67},"code-group",{},[68,149],{"type":13,"tag":69,"props":70,"children":76},"pre",{"className":71,"code":72,"filename":73,"language":74,"meta":75,"style":75},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkDeviceGroupSwapchainCreateInfoKHR {\n VkStructureType sType;\n const void* pNext;\n VkDeviceGroupPresentModeFlagsKHR modes;\n} VkDeviceGroupSwapchainCreateInfoKHR;\n","C","c","",[77],{"type":13,"tag":21,"props":78,"children":79},{"__ignoreMap":75},[80,103,112,131,140],{"type":13,"tag":81,"props":82,"children":85},"span",{"class":83,"line":84},"line",1,[86,92,97],{"type":13,"tag":81,"props":87,"children":89},{"style":88},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[90],{"type":18,"value":91},"typedef",{"type":13,"tag":81,"props":93,"children":94},{"style":88},[95],{"type":18,"value":96}," struct",{"type":13,"tag":81,"props":98,"children":100},{"style":99},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[101],{"type":18,"value":102}," VkDeviceGroupSwapchainCreateInfoKHR {\n",{"type":13,"tag":81,"props":104,"children":106},{"class":83,"line":105},2,[107],{"type":13,"tag":81,"props":108,"children":109},{"style":99},[110],{"type":18,"value":111}," VkStructureType sType;\n",{"type":13,"tag":81,"props":113,"children":115},{"class":83,"line":114},3,[116,121,126],{"type":13,"tag":81,"props":117,"children":118},{"style":88},[119],{"type":18,"value":120}," const",{"type":13,"tag":81,"props":122,"children":123},{"style":88},[124],{"type":18,"value":125}," void*",{"type":13,"tag":81,"props":127,"children":128},{"style":99},[129],{"type":18,"value":130}," pNext;\n",{"type":13,"tag":81,"props":132,"children":134},{"class":83,"line":133},4,[135],{"type":13,"tag":81,"props":136,"children":137},{"style":99},[138],{"type":18,"value":139}," VkDeviceGroupPresentModeFlagsKHR modes;\n",{"type":13,"tag":81,"props":141,"children":143},{"class":83,"line":142},5,[144],{"type":13,"tag":81,"props":145,"children":146},{"style":99},[147],{"type":18,"value":148},"} VkDeviceGroupSwapchainCreateInfoKHR;\n",{"type":13,"tag":69,"props":150,"children":155},{"className":151,"code":152,"filename":153,"language":154,"meta":75,"style":75},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct DeviceGroupSwapchainCreateInfoKHR {\n s_type: vk::StructureType,\n p_next: *const c_void,\n modes: vk::DeviceGroupPresentModeFlagsKHR,\n}\n","Rust","rs",[156],{"type":13,"tag":21,"props":157,"children":158},{"__ignoreMap":75},[159,182,215,237,266],{"type":13,"tag":81,"props":160,"children":161},{"class":83,"line":84},[162,167,171,177],{"type":13,"tag":81,"props":163,"children":164},{"style":88},[165],{"type":18,"value":166},"pub",{"type":13,"tag":81,"props":168,"children":169},{"style":88},[170],{"type":18,"value":96},{"type":13,"tag":81,"props":172,"children":174},{"style":173},"--shiki-default:#953800;--shiki-dark:#FFA657",[175],{"type":18,"value":176}," DeviceGroupSwapchainCreateInfoKHR",{"type":13,"tag":81,"props":178,"children":179},{"style":99},[180],{"type":18,"value":181}," {\n",{"type":13,"tag":81,"props":183,"children":184},{"class":83,"line":105},[185,190,195,200,205,210],{"type":13,"tag":81,"props":186,"children":187},{"style":99},[188],{"type":18,"value":189}," s_type",{"type":13,"tag":81,"props":191,"children":192},{"style":88},[193],{"type":18,"value":194},":",{"type":13,"tag":81,"props":196,"children":197},{"style":173},[198],{"type":18,"value":199}," vk",{"type":13,"tag":81,"props":201,"children":202},{"style":88},[203],{"type":18,"value":204},"::",{"type":13,"tag":81,"props":206,"children":207},{"style":173},[208],{"type":18,"value":209},"StructureType",{"type":13,"tag":81,"props":211,"children":212},{"style":99},[213],{"type":18,"value":214},",\n",{"type":13,"tag":81,"props":216,"children":217},{"class":83,"line":114},[218,223,227,232],{"type":13,"tag":81,"props":219,"children":220},{"style":99},[221],{"type":18,"value":222}," p_next",{"type":13,"tag":81,"props":224,"children":225},{"style":88},[226],{"type":18,"value":194},{"type":13,"tag":81,"props":228,"children":229},{"style":88},[230],{"type":18,"value":231}," *const",{"type":13,"tag":81,"props":233,"children":234},{"style":99},[235],{"type":18,"value":236}," c_void,\n",{"type":13,"tag":81,"props":238,"children":239},{"class":83,"line":133},[240,245,249,253,257,262],{"type":13,"tag":81,"props":241,"children":242},{"style":99},[243],{"type":18,"value":244}," modes",{"type":13,"tag":81,"props":246,"children":247},{"style":88},[248],{"type":18,"value":194},{"type":13,"tag":81,"props":250,"children":251},{"style":173},[252],{"type":18,"value":199},{"type":13,"tag":81,"props":254,"children":255},{"style":88},[256],{"type":18,"value":204},{"type":13,"tag":81,"props":258,"children":259},{"style":173},[260],{"type":18,"value":261},"DeviceGroupPresentModeFlagsKHR",{"type":13,"tag":81,"props":263,"children":264},{"style":99},[265],{"type":18,"value":214},{"type":13,"tag":81,"props":267,"children":268},{"class":83,"line":142},[269],{"type":13,"tag":81,"props":270,"children":271},{"style":99},[272],{"type":18,"value":273},"}\n",{"type":13,"tag":275,"props":276,"children":277},"ul",{},[278,298,316],{"type":13,"tag":279,"props":280,"children":281},"li",{},[282,288,290,296],{"type":13,"tag":21,"props":283,"children":285},{"className":284},[],[286],{"type":18,"value":287},"sType",{"type":18,"value":289}," is a ",{"type":13,"tag":30,"props":291,"children":293},{"href":292},"/man/VkStructureType",[294],{"type":18,"value":295},"VkStructureType",{"type":18,"value":297}," value identifying this structure.",{"type":13,"tag":279,"props":299,"children":300},{},[301,306,308,314],{"type":13,"tag":21,"props":302,"children":304},{"className":303},[],[305],{"type":18,"value":26},{"type":18,"value":307}," is ",{"type":13,"tag":21,"props":309,"children":311},{"className":310},[],[312],{"type":18,"value":313},"NULL",{"type":18,"value":315}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":279,"props":317,"children":318},{},[319,325,327,330],{"type":13,"tag":21,"props":320,"children":322},{"className":321},[],[323],{"type":18,"value":324},"modes",{"type":18,"value":326}," is a bitfield of modes that the swapchain ",{"type":13,"tag":46,"props":328,"children":329},{"type":48},[],{"type":18,"value":331}," be used with.",{"type":13,"tag":14,"props":333,"children":334},{},[335,337,342,344,350],{"type":18,"value":336},"If this structure is not present, ",{"type":13,"tag":21,"props":338,"children":340},{"className":339},[],[341],{"type":18,"value":324},{"type":18,"value":343}," is considered to be\n",{"type":13,"tag":21,"props":345,"children":347},{"className":346},[],[348],{"type":18,"value":349},"VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_BIT_KHR",{"type":18,"value":351},".",{"type":13,"tag":353,"props":354,"children":356},"validity-group",{"name":355},"Valid Usage (Implicit)",[357,384,410],{"type":13,"tag":358,"props":359,"children":361},"validity-field",{"name":360},"VUID-VkDeviceGroupSwapchainCreateInfoKHR-sType-sType",[362],{"type":13,"tag":14,"props":363,"children":364},{},[365,370,372,376,378],{"type":13,"tag":21,"props":366,"children":368},{"className":367},[],[369],{"type":18,"value":287},{"type":18,"value":371}," ",{"type":13,"tag":46,"props":373,"children":375},{"type":374},"must",[],{"type":18,"value":377}," be ",{"type":13,"tag":21,"props":379,"children":381},{"className":380},[],[382],{"type":18,"value":383},"VK_STRUCTURE_TYPE_DEVICE_GROUP_SWAPCHAIN_CREATE_INFO_KHR",{"type":13,"tag":358,"props":385,"children":387},{"name":386},"VUID-VkDeviceGroupSwapchainCreateInfoKHR-modes-parameter",[388],{"type":13,"tag":14,"props":389,"children":390},{},[391,396,397,400,402,408],{"type":13,"tag":21,"props":392,"children":394},{"className":393},[],[395],{"type":18,"value":324},{"type":18,"value":371},{"type":13,"tag":46,"props":398,"children":399},{"type":374},[],{"type":18,"value":401}," be a valid combination of ",{"type":13,"tag":30,"props":403,"children":405},{"href":404},"/man/VkDeviceGroupPresentModeFlagBitsKHR",[406],{"type":18,"value":407},"VkDeviceGroupPresentModeFlagBitsKHR",{"type":18,"value":409}," values",{"type":13,"tag":358,"props":411,"children":413},{"name":412},"VUID-VkDeviceGroupSwapchainCreateInfoKHR-modes-requiredbitmask",[414],{"type":13,"tag":14,"props":415,"children":416},{},[417,422,423,426,428],{"type":13,"tag":21,"props":418,"children":420},{"className":419},[],[421],{"type":18,"value":324},{"type":18,"value":371},{"type":13,"tag":46,"props":424,"children":425},{"type":374},[],{"type":18,"value":427}," not be ",{"type":13,"tag":21,"props":429,"children":431},{"className":430},[],[432],{"type":18,"value":433},"0",{"type":13,"tag":435,"props":436,"children":437},"style",{},[438],{"type":18,"value":439},"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":75,"searchDepth":105,"depth":105,"links":441},[],"markdown",1725732548757]