[{"data":1,"prerenderedAt":525},["ShallowReactive",2],{"IXzlT42w8p":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":524,"_id":4},"VkFramebufferAttachmentsCreateInfo","Structure specifying parameters of images that will be used with a framebuffer","VK_VERSION_1_2","structs",[],{"type":10,"children":11,"toc":522},"root",[12,28,291,296,361,435,516],{"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,141],{"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 VkFramebufferAttachmentsCreateInfo {\n VkStructureType sType;\n const void* pNext;\n uint32_t attachmentImageInfoCount;\n const VkFramebufferAttachmentImageInfo* pAttachmentImageInfos;\n} VkFramebufferAttachmentsCreateInfo;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,95,109,132],{"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}," VkFramebufferAttachmentsCreateInfo {\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}," attachmentImageInfoCount;\n",{"type":13,"tag":45,"props":110,"children":112},{"class":47,"line":111},5,[113,117,122,127],{"type":13,"tag":45,"props":114,"children":115},{"style":52},[116],{"type":18,"value":84},{"type":13,"tag":45,"props":118,"children":119},{"style":63},[120],{"type":18,"value":121}," VkFramebufferAttachmentImageInfo",{"type":13,"tag":45,"props":123,"children":124},{"style":52},[125],{"type":18,"value":126},"*",{"type":13,"tag":45,"props":128,"children":129},{"style":63},[130],{"type":18,"value":131}," pAttachmentImageInfos;\n",{"type":13,"tag":45,"props":133,"children":135},{"class":47,"line":134},6,[136],{"type":13,"tag":45,"props":137,"children":138},{"style":63},[139],{"type":18,"value":140},"} VkFramebufferAttachmentsCreateInfo;\n",{"type":13,"tag":33,"props":142,"children":147},{"className":143,"code":144,"filename":145,"language":146,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct FramebufferAttachmentsCreateInfo {\n s_type: vk::StructureType,\n p_next: *const c_void,\n attachment_image_info_count: u32,\n p_attachment_image_infos: *const vk::FramebufferAttachmentImageInfo,\n}\n","Rust","rs",[148],{"type":13,"tag":21,"props":149,"children":150},{"__ignoreMap":39},[151,174,207,229,250,283],{"type":13,"tag":45,"props":152,"children":153},{"class":47,"line":48},[154,159,163,169],{"type":13,"tag":45,"props":155,"children":156},{"style":52},[157],{"type":18,"value":158},"pub",{"type":13,"tag":45,"props":160,"children":161},{"style":52},[162],{"type":18,"value":60},{"type":13,"tag":45,"props":164,"children":166},{"style":165},"--shiki-default:#953800;--shiki-dark:#FFA657",[167],{"type":18,"value":168}," FramebufferAttachmentsCreateInfo",{"type":13,"tag":45,"props":170,"children":171},{"style":63},[172],{"type":18,"value":173}," {\n",{"type":13,"tag":45,"props":175,"children":176},{"class":47,"line":69},[177,182,187,192,197,202],{"type":13,"tag":45,"props":178,"children":179},{"style":63},[180],{"type":18,"value":181}," s_type",{"type":13,"tag":45,"props":183,"children":184},{"style":52},[185],{"type":18,"value":186},":",{"type":13,"tag":45,"props":188,"children":189},{"style":165},[190],{"type":18,"value":191}," vk",{"type":13,"tag":45,"props":193,"children":194},{"style":52},[195],{"type":18,"value":196},"::",{"type":13,"tag":45,"props":198,"children":199},{"style":165},[200],{"type":18,"value":201},"StructureType",{"type":13,"tag":45,"props":203,"children":204},{"style":63},[205],{"type":18,"value":206},",\n",{"type":13,"tag":45,"props":208,"children":209},{"class":47,"line":78},[210,215,219,224],{"type":13,"tag":45,"props":211,"children":212},{"style":63},[213],{"type":18,"value":214}," p_next",{"type":13,"tag":45,"props":216,"children":217},{"style":52},[218],{"type":18,"value":186},{"type":13,"tag":45,"props":220,"children":221},{"style":52},[222],{"type":18,"value":223}," *const",{"type":13,"tag":45,"props":225,"children":226},{"style":63},[227],{"type":18,"value":228}," c_void,\n",{"type":13,"tag":45,"props":230,"children":231},{"class":47,"line":97},[232,237,241,246],{"type":13,"tag":45,"props":233,"children":234},{"style":63},[235],{"type":18,"value":236}," attachment_image_info_count",{"type":13,"tag":45,"props":238,"children":239},{"style":52},[240],{"type":18,"value":186},{"type":13,"tag":45,"props":242,"children":243},{"style":165},[244],{"type":18,"value":245}," u32",{"type":13,"tag":45,"props":247,"children":248},{"style":63},[249],{"type":18,"value":206},{"type":13,"tag":45,"props":251,"children":252},{"class":47,"line":111},[253,258,262,266,270,274,279],{"type":13,"tag":45,"props":254,"children":255},{"style":63},[256],{"type":18,"value":257}," p_attachment_image_infos",{"type":13,"tag":45,"props":259,"children":260},{"style":52},[261],{"type":18,"value":186},{"type":13,"tag":45,"props":263,"children":264},{"style":52},[265],{"type":18,"value":223},{"type":13,"tag":45,"props":267,"children":268},{"style":165},[269],{"type":18,"value":191},{"type":13,"tag":45,"props":271,"children":272},{"style":52},[273],{"type":18,"value":196},{"type":13,"tag":45,"props":275,"children":276},{"style":165},[277],{"type":18,"value":278},"FramebufferAttachmentImageInfo",{"type":13,"tag":45,"props":280,"children":281},{"style":63},[282],{"type":18,"value":206},{"type":13,"tag":45,"props":284,"children":285},{"class":47,"line":134},[286],{"type":13,"tag":45,"props":287,"children":288},{"style":63},[289],{"type":18,"value":290},"}\n",{"type":13,"tag":14,"props":292,"children":293},{},[294],{"type":18,"value":295},"or the equivalent",{"type":13,"tag":29,"props":297,"children":298},{},[299,318],{"type":13,"tag":33,"props":300,"children":302},{"className":35,"code":301,"filename":37,"language":38,"meta":39,"style":39},"typedef VkFramebufferAttachmentsCreateInfo VkFramebufferAttachmentsCreateInfoKHR;\n",[303],{"type":13,"tag":21,"props":304,"children":305},{"__ignoreMap":39},[306],{"type":13,"tag":45,"props":307,"children":308},{"class":47,"line":48},[309,313],{"type":13,"tag":45,"props":310,"children":311},{"style":52},[312],{"type":18,"value":55},{"type":13,"tag":45,"props":314,"children":315},{"style":63},[316],{"type":18,"value":317}," VkFramebufferAttachmentsCreateInfo VkFramebufferAttachmentsCreateInfoKHR;\n",{"type":13,"tag":33,"props":319,"children":321},{"className":143,"code":320,"filename":145,"language":146,"meta":39,"style":39},"type FramebufferAttachmentsCreateInfoKHR = vk::FramebufferAttachmentsCreateInfo;\n",[322],{"type":13,"tag":21,"props":323,"children":324},{"__ignoreMap":39},[325],{"type":13,"tag":45,"props":326,"children":327},{"class":47,"line":48},[328,333,338,343,347,351,356],{"type":13,"tag":45,"props":329,"children":330},{"style":52},[331],{"type":18,"value":332},"type",{"type":13,"tag":45,"props":334,"children":335},{"style":165},[336],{"type":18,"value":337}," FramebufferAttachmentsCreateInfoKHR",{"type":13,"tag":45,"props":339,"children":340},{"style":52},[341],{"type":18,"value":342}," =",{"type":13,"tag":45,"props":344,"children":345},{"style":165},[346],{"type":18,"value":191},{"type":13,"tag":45,"props":348,"children":349},{"style":52},[350],{"type":18,"value":196},{"type":13,"tag":45,"props":352,"children":353},{"style":165},[354],{"type":18,"value":355},"FramebufferAttachmentsCreateInfo",{"type":13,"tag":45,"props":357,"children":358},{"style":63},[359],{"type":18,"value":360},";\n",{"type":13,"tag":362,"props":363,"children":364},"ul",{},[365,386,405,416],{"type":13,"tag":366,"props":367,"children":368},"li",{},[369,375,377,384],{"type":13,"tag":21,"props":370,"children":372},{"className":371},[],[373],{"type":18,"value":374},"sType",{"type":18,"value":376}," is a ",{"type":13,"tag":378,"props":379,"children":381},"a",{"href":380},"/man/VkStructureType",[382],{"type":18,"value":383},"VkStructureType",{"type":18,"value":385}," value identifying this structure.",{"type":13,"tag":366,"props":387,"children":388},{},[389,395,397,403],{"type":13,"tag":21,"props":390,"children":392},{"className":391},[],[393],{"type":18,"value":394},"pNext",{"type":18,"value":396}," is ",{"type":13,"tag":21,"props":398,"children":400},{"className":399},[],[401],{"type":18,"value":402},"NULL",{"type":18,"value":404}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":366,"props":406,"children":407},{},[408,414],{"type":13,"tag":21,"props":409,"children":411},{"className":410},[],[412],{"type":18,"value":413},"attachmentImageInfoCount",{"type":18,"value":415}," is the number of attachments being\ndescribed.",{"type":13,"tag":366,"props":417,"children":418},{},[419,425,427,433],{"type":13,"tag":21,"props":420,"children":422},{"className":421},[],[423],{"type":18,"value":424},"pAttachmentImageInfos",{"type":18,"value":426}," is a pointer to an array of\n",{"type":13,"tag":378,"props":428,"children":430},{"href":429},"/man/VkFramebufferAttachmentImageInfo",[431],{"type":18,"value":432},"VkFramebufferAttachmentImageInfo",{"type":18,"value":434}," structures, each structure\ndescribing a number of parameters of the corresponding attachment in a\nrender pass instance.",{"type":13,"tag":436,"props":437,"children":439},"validity-group",{"name":438},"Valid Usage (Implicit)",[440,468],{"type":13,"tag":441,"props":442,"children":444},"validity-field",{"name":443},"VUID-VkFramebufferAttachmentsCreateInfo-sType-sType",[445],{"type":13,"tag":14,"props":446,"children":447},{},[448,453,455,460,462],{"type":13,"tag":21,"props":449,"children":451},{"className":450},[],[452],{"type":18,"value":374},{"type":18,"value":454}," ",{"type":13,"tag":456,"props":457,"children":459},"normative",{"type":458},"must",[],{"type":18,"value":461}," be ",{"type":13,"tag":21,"props":463,"children":465},{"className":464},[],[466],{"type":18,"value":467},"VK_STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENTS_CREATE_INFO",{"type":13,"tag":441,"props":469,"children":471},{"name":470},"VUID-VkFramebufferAttachmentsCreateInfo-pAttachmentImageInfos-parameter",[472],{"type":13,"tag":14,"props":473,"children":474},{},[475,477,482,484,490,492,497,498,501,503,508,510,514],{"type":18,"value":476},"If ",{"type":13,"tag":21,"props":478,"children":480},{"className":479},[],[481],{"type":18,"value":413},{"type":18,"value":483}," is not ",{"type":13,"tag":21,"props":485,"children":487},{"className":486},[],[488],{"type":18,"value":489},"0",{"type":18,"value":491},", ",{"type":13,"tag":21,"props":493,"children":495},{"className":494},[],[496],{"type":18,"value":424},{"type":18,"value":454},{"type":13,"tag":456,"props":499,"children":500},{"type":458},[],{"type":18,"value":502}," be a valid pointer to an array of ",{"type":13,"tag":21,"props":504,"children":506},{"className":505},[],[507],{"type":18,"value":413},{"type":18,"value":509}," valid ",{"type":13,"tag":378,"props":511,"children":512},{"href":429},[513],{"type":18,"value":432},{"type":18,"value":515}," structures",{"type":13,"tag":517,"props":518,"children":519},"style",{},[520],{"type":18,"value":521},"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":523},[],"markdown",1725732554420]