[{"data":1,"prerenderedAt":485},["ShallowReactive",2],{"ktFukRFjrP":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":484,"_id":4},"VkDeviceGroupCommandBufferBeginInfo","Set the initial device mask for a command buffer","VK_VERSION_1_1","structs",[],{"type":10,"children":11,"toc":482},"root",[12,45,57,264,269,334,387,399,404,448,476],{"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/VkCommandBufferBeginInfo",[34],{"type":18,"value":35},"VkCommandBufferBeginInfo",{"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 an initial device mask for the command buffer.",{"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,147],{"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 VkDeviceGroupCommandBufferBeginInfo {\n VkStructureType sType;\n const void* pNext;\n uint32_t deviceMask;\n} VkDeviceGroupCommandBufferBeginInfo;\n","C","c","",[70],{"type":13,"tag":21,"props":71,"children":72},{"__ignoreMap":68},[73,96,105,124,138],{"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}," VkDeviceGroupCommandBufferBeginInfo {\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,133],{"type":13,"tag":74,"props":129,"children":130},{"style":81},[131],{"type":18,"value":132}," uint32_t",{"type":13,"tag":74,"props":134,"children":135},{"style":92},[136],{"type":18,"value":137}," deviceMask;\n",{"type":13,"tag":74,"props":139,"children":141},{"class":76,"line":140},5,[142],{"type":13,"tag":74,"props":143,"children":144},{"style":92},[145],{"type":18,"value":146},"} VkDeviceGroupCommandBufferBeginInfo;\n",{"type":13,"tag":62,"props":148,"children":153},{"className":149,"code":150,"filename":151,"language":152,"meta":68,"style":68},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct DeviceGroupCommandBufferBeginInfo {\n s_type: vk::StructureType,\n p_next: *const c_void,\n device_mask: u32,\n}\n","Rust","rs",[154],{"type":13,"tag":21,"props":155,"children":156},{"__ignoreMap":68},[157,180,213,235,256],{"type":13,"tag":74,"props":158,"children":159},{"class":76,"line":77},[160,165,169,175],{"type":13,"tag":74,"props":161,"children":162},{"style":81},[163],{"type":18,"value":164},"pub",{"type":13,"tag":74,"props":166,"children":167},{"style":81},[168],{"type":18,"value":89},{"type":13,"tag":74,"props":170,"children":172},{"style":171},"--shiki-default:#953800;--shiki-dark:#FFA657",[173],{"type":18,"value":174}," DeviceGroupCommandBufferBeginInfo",{"type":13,"tag":74,"props":176,"children":177},{"style":92},[178],{"type":18,"value":179}," {\n",{"type":13,"tag":74,"props":181,"children":182},{"class":76,"line":98},[183,188,193,198,203,208],{"type":13,"tag":74,"props":184,"children":185},{"style":92},[186],{"type":18,"value":187}," s_type",{"type":13,"tag":74,"props":189,"children":190},{"style":81},[191],{"type":18,"value":192},":",{"type":13,"tag":74,"props":194,"children":195},{"style":171},[196],{"type":18,"value":197}," vk",{"type":13,"tag":74,"props":199,"children":200},{"style":81},[201],{"type":18,"value":202},"::",{"type":13,"tag":74,"props":204,"children":205},{"style":171},[206],{"type":18,"value":207},"StructureType",{"type":13,"tag":74,"props":209,"children":210},{"style":92},[211],{"type":18,"value":212},",\n",{"type":13,"tag":74,"props":214,"children":215},{"class":76,"line":107},[216,221,225,230],{"type":13,"tag":74,"props":217,"children":218},{"style":92},[219],{"type":18,"value":220}," p_next",{"type":13,"tag":74,"props":222,"children":223},{"style":81},[224],{"type":18,"value":192},{"type":13,"tag":74,"props":226,"children":227},{"style":81},[228],{"type":18,"value":229}," *const",{"type":13,"tag":74,"props":231,"children":232},{"style":92},[233],{"type":18,"value":234}," c_void,\n",{"type":13,"tag":74,"props":236,"children":237},{"class":76,"line":126},[238,243,247,252],{"type":13,"tag":74,"props":239,"children":240},{"style":92},[241],{"type":18,"value":242}," device_mask",{"type":13,"tag":74,"props":244,"children":245},{"style":81},[246],{"type":18,"value":192},{"type":13,"tag":74,"props":248,"children":249},{"style":171},[250],{"type":18,"value":251}," u32",{"type":13,"tag":74,"props":253,"children":254},{"style":92},[255],{"type":18,"value":212},{"type":13,"tag":74,"props":257,"children":258},{"class":76,"line":140},[259],{"type":13,"tag":74,"props":260,"children":261},{"style":92},[262],{"type":18,"value":263},"}\n",{"type":13,"tag":14,"props":265,"children":266},{},[267],{"type":18,"value":268},"or the equivalent",{"type":13,"tag":58,"props":270,"children":271},{},[272,291],{"type":13,"tag":62,"props":273,"children":275},{"className":64,"code":274,"filename":66,"language":67,"meta":68,"style":68},"typedef VkDeviceGroupCommandBufferBeginInfo VkDeviceGroupCommandBufferBeginInfoKHR;\n",[276],{"type":13,"tag":21,"props":277,"children":278},{"__ignoreMap":68},[279],{"type":13,"tag":74,"props":280,"children":281},{"class":76,"line":77},[282,286],{"type":13,"tag":74,"props":283,"children":284},{"style":81},[285],{"type":18,"value":84},{"type":13,"tag":74,"props":287,"children":288},{"style":92},[289],{"type":18,"value":290}," VkDeviceGroupCommandBufferBeginInfo VkDeviceGroupCommandBufferBeginInfoKHR;\n",{"type":13,"tag":62,"props":292,"children":294},{"className":149,"code":293,"filename":151,"language":152,"meta":68,"style":68},"type DeviceGroupCommandBufferBeginInfoKHR = vk::DeviceGroupCommandBufferBeginInfo;\n",[295],{"type":13,"tag":21,"props":296,"children":297},{"__ignoreMap":68},[298],{"type":13,"tag":74,"props":299,"children":300},{"class":76,"line":77},[301,306,311,316,320,324,329],{"type":13,"tag":74,"props":302,"children":303},{"style":81},[304],{"type":18,"value":305},"type",{"type":13,"tag":74,"props":307,"children":308},{"style":171},[309],{"type":18,"value":310}," DeviceGroupCommandBufferBeginInfoKHR",{"type":13,"tag":74,"props":312,"children":313},{"style":81},[314],{"type":18,"value":315}," =",{"type":13,"tag":74,"props":317,"children":318},{"style":171},[319],{"type":18,"value":197},{"type":13,"tag":74,"props":321,"children":322},{"style":81},[323],{"type":18,"value":202},{"type":13,"tag":74,"props":325,"children":326},{"style":171},[327],{"type":18,"value":328},"DeviceGroupCommandBufferBeginInfo",{"type":13,"tag":74,"props":330,"children":331},{"style":92},[332],{"type":18,"value":333},";\n",{"type":13,"tag":335,"props":336,"children":337},"ul",{},[338,358,376],{"type":13,"tag":339,"props":340,"children":341},"li",{},[342,348,350,356],{"type":13,"tag":21,"props":343,"children":345},{"className":344},[],[346],{"type":18,"value":347},"sType",{"type":18,"value":349}," is a ",{"type":13,"tag":30,"props":351,"children":353},{"href":352},"/man/VkStructureType",[354],{"type":18,"value":355},"VkStructureType",{"type":18,"value":357}," value identifying this structure.",{"type":13,"tag":339,"props":359,"children":360},{},[361,366,368,374],{"type":13,"tag":21,"props":362,"children":364},{"className":363},[],[365],{"type":18,"value":26},{"type":18,"value":367}," is ",{"type":13,"tag":21,"props":369,"children":371},{"className":370},[],[372],{"type":18,"value":373},"NULL",{"type":18,"value":375}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":339,"props":377,"children":378},{},[379,385],{"type":13,"tag":21,"props":380,"children":382},{"className":381},[],[383],{"type":18,"value":384},"deviceMask",{"type":18,"value":386}," is the initial value of the command buffer’s device\nmask.",{"type":13,"tag":14,"props":388,"children":389},{},[390,392,397],{"type":18,"value":391},"The initial device mask also acts as an upper bound on the set of devices\nthat ",{"type":13,"tag":393,"props":394,"children":396},"normative",{"type":395},"can",[],{"type":18,"value":398}," ever be in the device mask in the command buffer.",{"type":13,"tag":14,"props":400,"children":401},{},[402],{"type":18,"value":403},"If this structure is not present, the initial value of a command buffer’s\ndevice mask is set to include all physical devices in the logical device\nwhen the command buffer begins recording.",{"type":13,"tag":405,"props":406,"children":408},"validity-group",{"name":407},"Valid Usage",[409,430],{"type":13,"tag":410,"props":411,"children":413},"validity-field",{"name":412},"VUID-VkDeviceGroupCommandBufferBeginInfo-deviceMask-00106",[414],{"type":13,"tag":14,"props":415,"children":416},{},[417,422,424,428],{"type":13,"tag":21,"props":418,"children":420},{"className":419},[],[421],{"type":18,"value":384},{"type":18,"value":423}," ",{"type":13,"tag":393,"props":425,"children":427},{"type":426},"must",[],{"type":18,"value":429}," be a valid device mask value",{"type":13,"tag":410,"props":431,"children":433},{"name":432},"VUID-VkDeviceGroupCommandBufferBeginInfo-deviceMask-00107",[434],{"type":13,"tag":14,"props":435,"children":436},{},[437,442,443,446],{"type":13,"tag":21,"props":438,"children":440},{"className":439},[],[441],{"type":18,"value":384},{"type":18,"value":423},{"type":13,"tag":393,"props":444,"children":445},{"type":426},[],{"type":18,"value":447}," not be zero",{"type":13,"tag":405,"props":449,"children":451},{"name":450},"Valid Usage (Implicit)",[452],{"type":13,"tag":410,"props":453,"children":455},{"name":454},"VUID-VkDeviceGroupCommandBufferBeginInfo-sType-sType",[456],{"type":13,"tag":14,"props":457,"children":458},{},[459,464,465,468,470],{"type":13,"tag":21,"props":460,"children":462},{"className":461},[],[463],{"type":18,"value":347},{"type":18,"value":423},{"type":13,"tag":393,"props":466,"children":467},{"type":426},[],{"type":18,"value":469}," be ",{"type":13,"tag":21,"props":471,"children":473},{"className":472},[],[474],{"type":18,"value":475},"VK_STRUCTURE_TYPE_DEVICE_GROUP_COMMAND_BUFFER_BEGIN_INFO",{"type":13,"tag":477,"props":478,"children":479},"style",{},[480],{"type":18,"value":481},"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":483},[],"markdown",1725732548551]