[{"data":1,"prerenderedAt":664},["ShallowReactive",2],{"qyvYLI11cG":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":663,"_id":4},"VkRenderPassAttachmentBeginInfo","Structure specifying images to be used as framebuffer attachments","VK_VERSION_1_2","structs",[],{"type":10,"children":11,"toc":661},"root",[12,28,291,296,361,435,578,655],{"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 VkRenderPassAttachmentBeginInfo {\n VkStructureType sType;\n const void* pNext;\n uint32_t attachmentCount;\n const VkImageView* pAttachments;\n} VkRenderPassAttachmentBeginInfo;\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}," VkRenderPassAttachmentBeginInfo {\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}," attachmentCount;\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}," VkImageView",{"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}," pAttachments;\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},"} VkRenderPassAttachmentBeginInfo;\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 RenderPassAttachmentBeginInfo {\n s_type: vk::StructureType,\n p_next: *const c_void,\n attachment_count: u32,\n p_attachments: *const vk::ImageView,\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}," RenderPassAttachmentBeginInfo",{"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_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_attachments",{"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},"ImageView",{"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 VkRenderPassAttachmentBeginInfo VkRenderPassAttachmentBeginInfoKHR;\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}," VkRenderPassAttachmentBeginInfo VkRenderPassAttachmentBeginInfoKHR;\n",{"type":13,"tag":33,"props":319,"children":321},{"className":143,"code":320,"filename":145,"language":146,"meta":39,"style":39},"type RenderPassAttachmentBeginInfoKHR = vk::RenderPassAttachmentBeginInfo;\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}," RenderPassAttachmentBeginInfoKHR",{"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},"RenderPassAttachmentBeginInfo",{"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},"attachmentCount",{"type":18,"value":415}," is the number of attachments.",{"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},"pAttachments",{"type":18,"value":426}," is a pointer to an array of ",{"type":13,"tag":21,"props":428,"children":430},{"className":429},[],[431],{"type":18,"value":432},"VkImageView",{"type":18,"value":434},"\nhandles, each of which will be used as the corresponding attachment in\nthe render pass instance.",{"type":13,"tag":436,"props":437,"children":439},"validity-group",{"name":438},"Valid Usage",[440,464,489,529],{"type":13,"tag":441,"props":442,"children":444},"validity-field",{"name":443},"VUID-VkRenderPassAttachmentBeginInfo-pAttachments-03218",[445],{"type":13,"tag":14,"props":446,"children":447},{},[448,450,455,457,462],{"type":18,"value":449},"Each element of ",{"type":13,"tag":21,"props":451,"children":453},{"className":452},[],[454],{"type":18,"value":424},{"type":18,"value":456}," ",{"type":13,"tag":458,"props":459,"children":461},"normative",{"type":460},"must",[],{"type":18,"value":463}," only specify a single mip level",{"type":13,"tag":441,"props":465,"children":467},{"name":466},"VUID-VkRenderPassAttachmentBeginInfo-pAttachments-03219",[468],{"type":13,"tag":14,"props":469,"children":470},{},[471,472,477,478,481,483],{"type":18,"value":449},{"type":13,"tag":21,"props":473,"children":475},{"className":474},[],[476],{"type":18,"value":424},{"type":18,"value":456},{"type":13,"tag":458,"props":479,"children":480},{"type":460},[],{"type":18,"value":482}," have been created with the\n",{"type":13,"tag":378,"props":484,"children":486},{"href":485},"/man/VkComponentSwizzle#resources-image-views-identity-mappings",[487],{"type":18,"value":488},"identity swizzle",{"type":13,"tag":441,"props":490,"children":492},{"name":491},"VUID-VkRenderPassAttachmentBeginInfo-pAttachments-04114",[493],{"type":13,"tag":14,"props":494,"children":495},{},[496,497,502,503,506,508,514,515,521,523],{"type":18,"value":449},{"type":13,"tag":21,"props":498,"children":500},{"className":499},[],[501],{"type":18,"value":424},{"type":18,"value":456},{"type":13,"tag":458,"props":504,"children":505},{"type":460},[],{"type":18,"value":507}," have been created with\n",{"type":13,"tag":378,"props":509,"children":511},{"href":510},"/man/VkImageViewCreateInfo",[512],{"type":18,"value":513},"VkImageViewCreateInfo",{"type":18,"value":196},{"type":13,"tag":21,"props":516,"children":518},{"className":517},[],[519],{"type":18,"value":520},"viewType",{"type":18,"value":522}," not equal to\n",{"type":13,"tag":21,"props":524,"children":526},{"className":525},[],[527],{"type":18,"value":528},"VK_IMAGE_VIEW_TYPE_3D",{"type":13,"tag":441,"props":530,"children":532},{"name":531},"VUID-VkRenderPassAttachmentBeginInfo-pAttachments-07010",[533],{"type":13,"tag":14,"props":534,"children":535},{},[536,538,544,546,551,553,559,560,563,565,571,572],{"type":18,"value":537},"If\n",{"type":13,"tag":378,"props":539,"children":541},{"href":540},"/chapters/renderpass#subpass-multisampledrendertosinglesampled",[542],{"type":18,"value":543},"multisampled-render-to-single-sampled",{"type":18,"value":545},"\nis enabled for any subpass, all element of ",{"type":13,"tag":21,"props":547,"children":549},{"className":548},[],[550],{"type":18,"value":424},{"type":18,"value":552}," which have\na sample count equal to ",{"type":13,"tag":21,"props":554,"children":556},{"className":555},[],[557],{"type":18,"value":558},"VK_SAMPLE_COUNT_1_BIT",{"type":18,"value":456},{"type":13,"tag":458,"props":561,"children":562},{"type":460},[],{"type":18,"value":564}," have a format\nthat supports the sample count specified in\n",{"type":13,"tag":378,"props":566,"children":568},{"href":567},"/man/VkMultisampledRenderToSingleSampledInfoEXT",[569],{"type":18,"value":570},"VkMultisampledRenderToSingleSampledInfoEXT",{"type":18,"value":196},{"type":13,"tag":21,"props":573,"children":575},{"className":574},[],[576],{"type":18,"value":577},"rasterizationSamples",{"type":13,"tag":436,"props":579,"children":581},{"name":580},"Valid Usage (Implicit)",[582,606],{"type":13,"tag":441,"props":583,"children":585},{"name":584},"VUID-VkRenderPassAttachmentBeginInfo-sType-sType",[586],{"type":13,"tag":14,"props":587,"children":588},{},[589,594,595,598,600],{"type":13,"tag":21,"props":590,"children":592},{"className":591},[],[593],{"type":18,"value":374},{"type":18,"value":456},{"type":13,"tag":458,"props":596,"children":597},{"type":460},[],{"type":18,"value":599}," be ",{"type":13,"tag":21,"props":601,"children":603},{"className":602},[],[604],{"type":18,"value":605},"VK_STRUCTURE_TYPE_RENDER_PASS_ATTACHMENT_BEGIN_INFO",{"type":13,"tag":441,"props":607,"children":609},{"name":608},"VUID-VkRenderPassAttachmentBeginInfo-pAttachments-parameter",[610],{"type":13,"tag":14,"props":611,"children":612},{},[613,615,620,622,628,630,635,636,639,641,646,648,653],{"type":18,"value":614},"If ",{"type":13,"tag":21,"props":616,"children":618},{"className":617},[],[619],{"type":18,"value":413},{"type":18,"value":621}," is not ",{"type":13,"tag":21,"props":623,"children":625},{"className":624},[],[626],{"type":18,"value":627},"0",{"type":18,"value":629},", ",{"type":13,"tag":21,"props":631,"children":633},{"className":632},[],[634],{"type":18,"value":424},{"type":18,"value":456},{"type":13,"tag":458,"props":637,"children":638},{"type":460},[],{"type":18,"value":640}," be a valid pointer to an array of ",{"type":13,"tag":21,"props":642,"children":644},{"className":643},[],[645],{"type":18,"value":413},{"type":18,"value":647}," valid ",{"type":13,"tag":378,"props":649,"children":651},{"href":650},"/man/VkImageView",[652],{"type":18,"value":432},{"type":18,"value":654}," handles",{"type":13,"tag":656,"props":657,"children":658},"style",{},[659],{"type":18,"value":660},"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":662},[],"markdown",1725732582726]