[{"data":1,"prerenderedAt":564},["ShallowReactive",2],{"0eItO72nb6":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":563,"_id":4},"VkMultisampledRenderToSingleSampledInfoEXT","Structure containing info for multisampled rendering to single-sampled attachments in a subpass","VK_EXT_multisampled_render_to_single_sampled","structs",[],{"type":10,"children":11,"toc":561},"root",[12,53,65,305,384,503,555],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27,29,36,38,44,46,51],{"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/VkSubpassDescription2",[34],{"type":18,"value":35},"VkSubpassDescription2",{"type":18,"value":37},"\nor ",{"type":13,"tag":30,"props":39,"children":41},{"href":40},"/man/VkRenderingInfo",[42],{"type":18,"value":43},"VkRenderingInfo",{"type":18,"value":45},"\nincludes a ",{"type":13,"tag":21,"props":47,"children":49},{"className":48},[],[50],{"type":18,"value":4},{"type":18,"value":52}," structure, then\nthat structure describes how multisampled rendering is performed on single\nsampled attachments in that subpass.",{"type":13,"tag":14,"props":54,"children":55},{},[56,58,63],{"type":18,"value":57},"The ",{"type":13,"tag":21,"props":59,"children":61},{"className":60},[],[62],{"type":18,"value":4},{"type":18,"value":64}," structure is defined\nas:",{"type":13,"tag":66,"props":67,"children":68},"code-group",{},[69,159],{"type":13,"tag":70,"props":71,"children":77},"pre",{"className":72,"code":73,"filename":74,"language":75,"meta":76,"style":76},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkMultisampledRenderToSingleSampledInfoEXT {\n VkStructureType sType;\n const void* pNext;\n VkBool32 multisampledRenderToSingleSampledEnable;\n VkSampleCountFlagBits rasterizationSamples;\n} VkMultisampledRenderToSingleSampledInfoEXT;\n","C","c","",[78],{"type":13,"tag":21,"props":79,"children":80},{"__ignoreMap":76},[81,104,113,132,141,150],{"type":13,"tag":82,"props":83,"children":86},"span",{"class":84,"line":85},"line",1,[87,93,98],{"type":13,"tag":82,"props":88,"children":90},{"style":89},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[91],{"type":18,"value":92},"typedef",{"type":13,"tag":82,"props":94,"children":95},{"style":89},[96],{"type":18,"value":97}," struct",{"type":13,"tag":82,"props":99,"children":101},{"style":100},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[102],{"type":18,"value":103}," VkMultisampledRenderToSingleSampledInfoEXT {\n",{"type":13,"tag":82,"props":105,"children":107},{"class":84,"line":106},2,[108],{"type":13,"tag":82,"props":109,"children":110},{"style":100},[111],{"type":18,"value":112}," VkStructureType sType;\n",{"type":13,"tag":82,"props":114,"children":116},{"class":84,"line":115},3,[117,122,127],{"type":13,"tag":82,"props":118,"children":119},{"style":89},[120],{"type":18,"value":121}," const",{"type":13,"tag":82,"props":123,"children":124},{"style":89},[125],{"type":18,"value":126}," void*",{"type":13,"tag":82,"props":128,"children":129},{"style":100},[130],{"type":18,"value":131}," pNext;\n",{"type":13,"tag":82,"props":133,"children":135},{"class":84,"line":134},4,[136],{"type":13,"tag":82,"props":137,"children":138},{"style":100},[139],{"type":18,"value":140}," VkBool32 multisampledRenderToSingleSampledEnable;\n",{"type":13,"tag":82,"props":142,"children":144},{"class":84,"line":143},5,[145],{"type":13,"tag":82,"props":146,"children":147},{"style":100},[148],{"type":18,"value":149}," VkSampleCountFlagBits rasterizationSamples;\n",{"type":13,"tag":82,"props":151,"children":153},{"class":84,"line":152},6,[154],{"type":13,"tag":82,"props":155,"children":156},{"style":100},[157],{"type":18,"value":158},"} VkMultisampledRenderToSingleSampledInfoEXT;\n",{"type":13,"tag":70,"props":160,"children":165},{"className":161,"code":162,"filename":163,"language":164,"meta":76,"style":76},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct MultisampledRenderToSingleSampledInfoEXT {\n s_type: vk::StructureType,\n p_next: *const c_void,\n multisampled_render_to_single_sampled_enable: vk::Bool32,\n rasterization_samples: SampleCountFlags,\n}\n","Rust","rs",[166],{"type":13,"tag":21,"props":167,"children":168},{"__ignoreMap":76},[169,192,225,247,276,297],{"type":13,"tag":82,"props":170,"children":171},{"class":84,"line":85},[172,177,181,187],{"type":13,"tag":82,"props":173,"children":174},{"style":89},[175],{"type":18,"value":176},"pub",{"type":13,"tag":82,"props":178,"children":179},{"style":89},[180],{"type":18,"value":97},{"type":13,"tag":82,"props":182,"children":184},{"style":183},"--shiki-default:#953800;--shiki-dark:#FFA657",[185],{"type":18,"value":186}," MultisampledRenderToSingleSampledInfoEXT",{"type":13,"tag":82,"props":188,"children":189},{"style":100},[190],{"type":18,"value":191}," {\n",{"type":13,"tag":82,"props":193,"children":194},{"class":84,"line":106},[195,200,205,210,215,220],{"type":13,"tag":82,"props":196,"children":197},{"style":100},[198],{"type":18,"value":199}," s_type",{"type":13,"tag":82,"props":201,"children":202},{"style":89},[203],{"type":18,"value":204},":",{"type":13,"tag":82,"props":206,"children":207},{"style":183},[208],{"type":18,"value":209}," vk",{"type":13,"tag":82,"props":211,"children":212},{"style":89},[213],{"type":18,"value":214},"::",{"type":13,"tag":82,"props":216,"children":217},{"style":183},[218],{"type":18,"value":219},"StructureType",{"type":13,"tag":82,"props":221,"children":222},{"style":100},[223],{"type":18,"value":224},",\n",{"type":13,"tag":82,"props":226,"children":227},{"class":84,"line":115},[228,233,237,242],{"type":13,"tag":82,"props":229,"children":230},{"style":100},[231],{"type":18,"value":232}," p_next",{"type":13,"tag":82,"props":234,"children":235},{"style":89},[236],{"type":18,"value":204},{"type":13,"tag":82,"props":238,"children":239},{"style":89},[240],{"type":18,"value":241}," *const",{"type":13,"tag":82,"props":243,"children":244},{"style":100},[245],{"type":18,"value":246}," c_void,\n",{"type":13,"tag":82,"props":248,"children":249},{"class":84,"line":134},[250,255,259,263,267,272],{"type":13,"tag":82,"props":251,"children":252},{"style":100},[253],{"type":18,"value":254}," multisampled_render_to_single_sampled_enable",{"type":13,"tag":82,"props":256,"children":257},{"style":89},[258],{"type":18,"value":204},{"type":13,"tag":82,"props":260,"children":261},{"style":183},[262],{"type":18,"value":209},{"type":13,"tag":82,"props":264,"children":265},{"style":89},[266],{"type":18,"value":214},{"type":13,"tag":82,"props":268,"children":269},{"style":183},[270],{"type":18,"value":271},"Bool32",{"type":13,"tag":82,"props":273,"children":274},{"style":100},[275],{"type":18,"value":224},{"type":13,"tag":82,"props":277,"children":278},{"class":84,"line":143},[279,284,288,293],{"type":13,"tag":82,"props":280,"children":281},{"style":100},[282],{"type":18,"value":283}," rasterization_samples",{"type":13,"tag":82,"props":285,"children":286},{"style":89},[287],{"type":18,"value":204},{"type":13,"tag":82,"props":289,"children":290},{"style":183},[291],{"type":18,"value":292}," SampleCountFlags",{"type":13,"tag":82,"props":294,"children":295},{"style":100},[296],{"type":18,"value":224},{"type":13,"tag":82,"props":298,"children":299},{"class":84,"line":152},[300],{"type":13,"tag":82,"props":301,"children":302},{"style":100},[303],{"type":18,"value":304},"}\n",{"type":13,"tag":306,"props":307,"children":308},"ul",{},[309,329,347,366],{"type":13,"tag":310,"props":311,"children":312},"li",{},[313,319,321,327],{"type":13,"tag":21,"props":314,"children":316},{"className":315},[],[317],{"type":18,"value":318},"sType",{"type":18,"value":320}," is a ",{"type":13,"tag":30,"props":322,"children":324},{"href":323},"/man/VkStructureType",[325],{"type":18,"value":326},"VkStructureType",{"type":18,"value":328}," value identifying this structure.",{"type":13,"tag":310,"props":330,"children":331},{},[332,337,339,345],{"type":13,"tag":21,"props":333,"children":335},{"className":334},[],[336],{"type":18,"value":26},{"type":18,"value":338}," is ",{"type":13,"tag":21,"props":340,"children":342},{"className":341},[],[343],{"type":18,"value":344},"NULL",{"type":18,"value":346}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":310,"props":348,"children":349},{},[350,356,358,364],{"type":13,"tag":21,"props":351,"children":353},{"className":352},[],[354],{"type":18,"value":355},"multisampledRenderToSingleSampledEnable",{"type":18,"value":357}," controls whether\nmultisampled rendering to single-sampled attachments is performed as\ndescribed ",{"type":13,"tag":30,"props":359,"children":361},{"href":360},"/chapters/renderpass#multisampled-render-to-single-sampled",[362],{"type":18,"value":363},"below",{"type":18,"value":365},".",{"type":13,"tag":310,"props":367,"children":368},{},[369,375,376,382],{"type":13,"tag":21,"props":370,"children":372},{"className":371},[],[373],{"type":18,"value":374},"rasterizationSamples",{"type":18,"value":320},{"type":13,"tag":30,"props":377,"children":379},{"href":378},"/man/VkSampleCountFlagBits",[380],{"type":18,"value":381},"VkSampleCountFlagBits",{"type":18,"value":383}," specifying\nthe number of samples used in rasterization.",{"type":13,"tag":385,"props":386,"children":388},"validity-group",{"name":387},"Valid Usage",[389,419],{"type":13,"tag":390,"props":391,"children":393},"validity-field",{"name":392},"VUID-VkMultisampledRenderToSingleSampledInfoEXT-rasterizationSamples-06878",[394],{"type":13,"tag":14,"props":395,"children":396},{},[397,399,404,406,411,413],{"type":18,"value":398},"The value of ",{"type":13,"tag":21,"props":400,"children":402},{"className":401},[],[403],{"type":18,"value":374},{"type":18,"value":405}," ",{"type":13,"tag":407,"props":408,"children":410},"normative",{"type":409},"must",[],{"type":18,"value":412}," not be\n",{"type":13,"tag":21,"props":414,"children":416},{"className":415},[],[417],{"type":18,"value":418},"VK_SAMPLE_COUNT_1_BIT",{"type":13,"tag":390,"props":420,"children":422},{"name":421},"VUID-VkMultisampledRenderToSingleSampledInfoEXT-pNext-06880",[423],{"type":13,"tag":14,"props":424,"children":425},{},[426,428,433,434,438,440,446,448,452,453,459,460,464,465,471,473,477,478,484,486,492,493,496,498],{"type":18,"value":427},"If added to the ",{"type":13,"tag":21,"props":429,"children":431},{"className":430},[],[432],{"type":18,"value":26},{"type":18,"value":28},{"type":13,"tag":30,"props":435,"children":436},{"href":40},[437],{"type":18,"value":43},{"type":18,"value":439},", each\n",{"type":13,"tag":21,"props":441,"children":443},{"className":442},[],[444],{"type":18,"value":445},"imageView",{"type":18,"value":447}," member of any element of\n",{"type":13,"tag":30,"props":449,"children":450},{"href":40},[451],{"type":18,"value":43},{"type":18,"value":214},{"type":13,"tag":21,"props":454,"children":456},{"className":455},[],[457],{"type":18,"value":458},"pColorAttachments",{"type":18,"value":224},{"type":13,"tag":30,"props":461,"children":462},{"href":40},[463],{"type":18,"value":43},{"type":18,"value":214},{"type":13,"tag":21,"props":466,"children":468},{"className":467},[],[469],{"type":18,"value":470},"pDepthAttachment",{"type":18,"value":472},", or\n",{"type":13,"tag":30,"props":474,"children":475},{"href":40},[476],{"type":18,"value":43},{"type":18,"value":214},{"type":13,"tag":21,"props":479,"children":481},{"className":480},[],[482],{"type":18,"value":483},"pStencilAttachment",{"type":18,"value":485}," that is not\n",{"type":13,"tag":30,"props":487,"children":489},{"href":488},"/man/VK_NULL_HANDLE",[490],{"type":18,"value":491},"VK_NULL_HANDLE",{"type":18,"value":405},{"type":13,"tag":407,"props":494,"children":495},{"type":409},[],{"type":18,"value":497}," have a format that supports the sample count\nspecified in ",{"type":13,"tag":21,"props":499,"children":501},{"className":500},[],[502],{"type":18,"value":374},{"type":13,"tag":385,"props":504,"children":506},{"name":505},"Valid Usage (Implicit)",[507,531],{"type":13,"tag":390,"props":508,"children":510},{"name":509},"VUID-VkMultisampledRenderToSingleSampledInfoEXT-sType-sType",[511],{"type":13,"tag":14,"props":512,"children":513},{},[514,519,520,523,525],{"type":13,"tag":21,"props":515,"children":517},{"className":516},[],[518],{"type":18,"value":318},{"type":18,"value":405},{"type":13,"tag":407,"props":521,"children":522},{"type":409},[],{"type":18,"value":524}," be ",{"type":13,"tag":21,"props":526,"children":528},{"className":527},[],[529],{"type":18,"value":530},"VK_STRUCTURE_TYPE_MULTISAMPLED_RENDER_TO_SINGLE_SAMPLED_INFO_EXT",{"type":13,"tag":390,"props":532,"children":534},{"name":533},"VUID-VkMultisampledRenderToSingleSampledInfoEXT-rasterizationSamples-parameter",[535],{"type":13,"tag":14,"props":536,"children":537},{},[538,543,544,547,549,553],{"type":13,"tag":21,"props":539,"children":541},{"className":540},[],[542],{"type":18,"value":374},{"type":18,"value":405},{"type":13,"tag":407,"props":545,"children":546},{"type":409},[],{"type":18,"value":548}," be a valid ",{"type":13,"tag":30,"props":550,"children":551},{"href":378},[552],{"type":18,"value":381},{"type":18,"value":554}," value",{"type":13,"tag":556,"props":557,"children":558},"style",{},[559],{"type":18,"value":560},"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":76,"searchDepth":106,"depth":106,"links":562},[],"markdown",1729612458696]