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