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