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