[{"data":1,"prerenderedAt":662},["ShallowReactive",2],{"82f5lNU6ab":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":661,"_id":4},"VkRenderingFragmentDensityMapAttachmentInfoEXT","Structure specifying fragment shading rate attachment information","VK_KHR_dynamic_rendering","structs",[],{"type":10,"children":11,"toc":659},"root",[12,28,276,349,391,574,653],{"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\ndefined as:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,122],{"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 VkRenderingFragmentDensityMapAttachmentInfoEXT {\n VkStructureType sType;\n const void* pNext;\n VkImageView imageView;\n VkImageLayout imageLayout;\n} VkRenderingFragmentDensityMapAttachmentInfoEXT;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,95,104,113],{"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}," VkRenderingFragmentDensityMapAttachmentInfoEXT {\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],{"type":13,"tag":45,"props":100,"children":101},{"style":63},[102],{"type":18,"value":103}," VkImageView imageView;\n",{"type":13,"tag":45,"props":105,"children":107},{"class":47,"line":106},5,[108],{"type":13,"tag":45,"props":109,"children":110},{"style":63},[111],{"type":18,"value":112}," VkImageLayout imageLayout;\n",{"type":13,"tag":45,"props":114,"children":116},{"class":47,"line":115},6,[117],{"type":13,"tag":45,"props":118,"children":119},{"style":63},[120],{"type":18,"value":121},"} VkRenderingFragmentDensityMapAttachmentInfoEXT;\n",{"type":13,"tag":33,"props":123,"children":128},{"className":124,"code":125,"filename":126,"language":127,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct RenderingFragmentDensityMapAttachmentInfoEXT {\n s_type: vk::StructureType,\n p_next: *const c_void,\n image_view: vk::ImageView,\n image_layout: vk::ImageLayout,\n}\n","Rust","rs",[129],{"type":13,"tag":21,"props":130,"children":131},{"__ignoreMap":39},[132,155,188,210,239,268],{"type":13,"tag":45,"props":133,"children":134},{"class":47,"line":48},[135,140,144,150],{"type":13,"tag":45,"props":136,"children":137},{"style":52},[138],{"type":18,"value":139},"pub",{"type":13,"tag":45,"props":141,"children":142},{"style":52},[143],{"type":18,"value":60},{"type":13,"tag":45,"props":145,"children":147},{"style":146},"--shiki-default:#953800;--shiki-dark:#FFA657",[148],{"type":18,"value":149}," RenderingFragmentDensityMapAttachmentInfoEXT",{"type":13,"tag":45,"props":151,"children":152},{"style":63},[153],{"type":18,"value":154}," {\n",{"type":13,"tag":45,"props":156,"children":157},{"class":47,"line":69},[158,163,168,173,178,183],{"type":13,"tag":45,"props":159,"children":160},{"style":63},[161],{"type":18,"value":162}," s_type",{"type":13,"tag":45,"props":164,"children":165},{"style":52},[166],{"type":18,"value":167},":",{"type":13,"tag":45,"props":169,"children":170},{"style":146},[171],{"type":18,"value":172}," vk",{"type":13,"tag":45,"props":174,"children":175},{"style":52},[176],{"type":18,"value":177},"::",{"type":13,"tag":45,"props":179,"children":180},{"style":146},[181],{"type":18,"value":182},"StructureType",{"type":13,"tag":45,"props":184,"children":185},{"style":63},[186],{"type":18,"value":187},",\n",{"type":13,"tag":45,"props":189,"children":190},{"class":47,"line":78},[191,196,200,205],{"type":13,"tag":45,"props":192,"children":193},{"style":63},[194],{"type":18,"value":195}," p_next",{"type":13,"tag":45,"props":197,"children":198},{"style":52},[199],{"type":18,"value":167},{"type":13,"tag":45,"props":201,"children":202},{"style":52},[203],{"type":18,"value":204}," *const",{"type":13,"tag":45,"props":206,"children":207},{"style":63},[208],{"type":18,"value":209}," c_void,\n",{"type":13,"tag":45,"props":211,"children":212},{"class":47,"line":97},[213,218,222,226,230,235],{"type":13,"tag":45,"props":214,"children":215},{"style":63},[216],{"type":18,"value":217}," image_view",{"type":13,"tag":45,"props":219,"children":220},{"style":52},[221],{"type":18,"value":167},{"type":13,"tag":45,"props":223,"children":224},{"style":146},[225],{"type":18,"value":172},{"type":13,"tag":45,"props":227,"children":228},{"style":52},[229],{"type":18,"value":177},{"type":13,"tag":45,"props":231,"children":232},{"style":146},[233],{"type":18,"value":234},"ImageView",{"type":13,"tag":45,"props":236,"children":237},{"style":63},[238],{"type":18,"value":187},{"type":13,"tag":45,"props":240,"children":241},{"class":47,"line":106},[242,247,251,255,259,264],{"type":13,"tag":45,"props":243,"children":244},{"style":63},[245],{"type":18,"value":246}," image_layout",{"type":13,"tag":45,"props":248,"children":249},{"style":52},[250],{"type":18,"value":167},{"type":13,"tag":45,"props":252,"children":253},{"style":146},[254],{"type":18,"value":172},{"type":13,"tag":45,"props":256,"children":257},{"style":52},[258],{"type":18,"value":177},{"type":13,"tag":45,"props":260,"children":261},{"style":146},[262],{"type":18,"value":263},"ImageLayout",{"type":13,"tag":45,"props":265,"children":266},{"style":63},[267],{"type":18,"value":187},{"type":13,"tag":45,"props":269,"children":270},{"class":47,"line":115},[271],{"type":13,"tag":45,"props":272,"children":273},{"style":63},[274],{"type":18,"value":275},"}\n",{"type":13,"tag":277,"props":278,"children":279},"ul",{},[280,301,320,331],{"type":13,"tag":281,"props":282,"children":283},"li",{},[284,290,292,299],{"type":13,"tag":21,"props":285,"children":287},{"className":286},[],[288],{"type":18,"value":289},"sType",{"type":18,"value":291}," is a ",{"type":13,"tag":293,"props":294,"children":296},"a",{"href":295},"/man/VkStructureType",[297],{"type":18,"value":298},"VkStructureType",{"type":18,"value":300}," value identifying this structure.",{"type":13,"tag":281,"props":302,"children":303},{},[304,310,312,318],{"type":13,"tag":21,"props":305,"children":307},{"className":306},[],[308],{"type":18,"value":309},"pNext",{"type":18,"value":311}," is ",{"type":13,"tag":21,"props":313,"children":315},{"className":314},[],[316],{"type":18,"value":317},"NULL",{"type":18,"value":319}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":281,"props":321,"children":322},{},[323,329],{"type":13,"tag":21,"props":324,"children":326},{"className":325},[],[327],{"type":18,"value":328},"imageView",{"type":18,"value":330}," is the image view that will be used as a fragment\ndensity map attachment.",{"type":13,"tag":281,"props":332,"children":333},{},[334,340,342,347],{"type":13,"tag":21,"props":335,"children":337},{"className":336},[],[338],{"type":18,"value":339},"imageLayout",{"type":18,"value":341}," is the layout that ",{"type":13,"tag":21,"props":343,"children":345},{"className":344},[],[346],{"type":18,"value":328},{"type":18,"value":348}," will be in during\nrendering.",{"type":13,"tag":14,"props":350,"children":351},{},[352,354,359,361,367,369,374,376,381,383,389],{"type":18,"value":353},"This structure can be included in the ",{"type":13,"tag":21,"props":355,"children":357},{"className":356},[],[358],{"type":18,"value":309},{"type":18,"value":360}," chain of\n",{"type":13,"tag":293,"props":362,"children":364},{"href":363},"/man/VkRenderingInfo",[365],{"type":18,"value":366},"VkRenderingInfo",{"type":18,"value":368}," to define a fragment density map.\nIf this structure is not included in the ",{"type":13,"tag":21,"props":370,"children":372},{"className":371},[],[373],{"type":18,"value":309},{"type":18,"value":375}," chain, ",{"type":13,"tag":21,"props":377,"children":379},{"className":378},[],[380],{"type":18,"value":328},{"type":18,"value":382},"\nis treated as ",{"type":13,"tag":293,"props":384,"children":386},{"href":385},"/man/VK_NULL_HANDLE",[387],{"type":18,"value":388},"VK_NULL_HANDLE",{"type":18,"value":390},".",{"type":13,"tag":392,"props":393,"children":395},"validity-group",{"name":394},"Valid Usage",[396,447,478,508],{"type":13,"tag":397,"props":398,"children":400},"validity-field",{"name":399},"VUID-VkRenderingFragmentDensityMapAttachmentInfoEXT-imageView-06157",[401],{"type":13,"tag":14,"props":402,"children":403},{},[404,406,411,413,417,419,424,426,431,433,439,441],{"type":18,"value":405},"If ",{"type":13,"tag":21,"props":407,"children":409},{"className":408},[],[410],{"type":18,"value":328},{"type":18,"value":412}," is not ",{"type":13,"tag":293,"props":414,"children":415},{"href":385},[416],{"type":18,"value":388},{"type":18,"value":418},", ",{"type":13,"tag":21,"props":420,"children":422},{"className":421},[],[423],{"type":18,"value":339},{"type":18,"value":425}," ",{"type":13,"tag":427,"props":428,"children":430},"normative",{"type":429},"must",[],{"type":18,"value":432},"\nbe ",{"type":13,"tag":21,"props":434,"children":436},{"className":435},[],[437],{"type":18,"value":438},"VK_IMAGE_LAYOUT_GENERAL",{"type":18,"value":440}," or\n",{"type":13,"tag":21,"props":442,"children":444},{"className":443},[],[445],{"type":18,"value":446},"VK_IMAGE_LAYOUT_FRAGMENT_DENSITY_MAP_OPTIMAL_EXT",{"type":13,"tag":397,"props":448,"children":450},{"name":449},"VUID-VkRenderingFragmentDensityMapAttachmentInfoEXT-imageView-06158",[451],{"type":13,"tag":14,"props":452,"children":453},{},[454,455,460,461,465,467,470,472],{"type":18,"value":405},{"type":13,"tag":21,"props":456,"children":458},{"className":457},[],[459],{"type":18,"value":328},{"type":18,"value":412},{"type":13,"tag":293,"props":462,"children":463},{"href":385},[464],{"type":18,"value":388},{"type":18,"value":466},", it ",{"type":13,"tag":427,"props":468,"children":469},{"type":429},[],{"type":18,"value":471}," have been\ncreated with ",{"type":13,"tag":21,"props":473,"children":475},{"className":474},[],[476],{"type":18,"value":477},"VK_IMAGE_USAGE_FRAGMENT_DENSITY_MAP_BIT_EXT",{"type":13,"tag":397,"props":479,"children":481},{"name":480},"VUID-VkRenderingFragmentDensityMapAttachmentInfoEXT-imageView-06159",[482],{"type":13,"tag":14,"props":483,"children":484},{},[485,486,491,492,496,497,500,502],{"type":18,"value":405},{"type":13,"tag":21,"props":487,"children":489},{"className":488},[],[490],{"type":18,"value":328},{"type":18,"value":412},{"type":13,"tag":293,"props":493,"children":494},{"href":385},[495],{"type":18,"value":388},{"type":18,"value":466},{"type":13,"tag":427,"props":498,"children":499},{"type":429},[],{"type":18,"value":501}," not have been\ncreated with ",{"type":13,"tag":21,"props":503,"children":505},{"className":504},[],[506],{"type":18,"value":507},"VK_IMAGE_CREATE_SUBSAMPLED_BIT_EXT",{"type":13,"tag":397,"props":509,"children":511},{"name":510},"VUID-VkRenderingFragmentDensityMapAttachmentInfoEXT-apiVersion-07908",[512],{"type":13,"tag":14,"props":513,"children":514},{},[515,517,527,529,535,536,542,544,549,550,554,555,558,560,566,568],{"type":18,"value":516},"If\nthe ",{"type":13,"tag":293,"props":518,"children":520},{"href":519},"/man/VkPhysicalDeviceMultiviewFeatures#features-multiview",[521],{"type":13,"tag":21,"props":522,"children":524},{"className":523},[],[525],{"type":18,"value":526},"multiview",{"type":18,"value":528}," feature is not enabled,\n",{"type":13,"tag":293,"props":530,"children":532},{"href":531},"/man/VkPhysicalDeviceProperties",[533],{"type":18,"value":534},"VkPhysicalDeviceProperties",{"type":18,"value":177},{"type":13,"tag":21,"props":537,"children":539},{"className":538},[],[540],{"type":18,"value":541},"apiVersion",{"type":18,"value":543}," is less than Vulkan\n1.1, and\n",{"type":13,"tag":21,"props":545,"children":547},{"className":546},[],[548],{"type":18,"value":328},{"type":18,"value":412},{"type":13,"tag":293,"props":551,"children":552},{"href":385},[553],{"type":18,"value":388},{"type":18,"value":466},{"type":13,"tag":427,"props":556,"children":557},{"type":429},[],{"type":18,"value":559}," have a\n",{"type":13,"tag":21,"props":561,"children":563},{"className":562},[],[564],{"type":18,"value":565},"layerCount",{"type":18,"value":567}," equal to ",{"type":13,"tag":21,"props":569,"children":571},{"className":570},[],[572],{"type":18,"value":573},"1",{"type":13,"tag":392,"props":575,"children":577},{"name":576},"Valid Usage (Implicit)",[578,602,628],{"type":13,"tag":397,"props":579,"children":581},{"name":580},"VUID-VkRenderingFragmentDensityMapAttachmentInfoEXT-sType-sType",[582],{"type":13,"tag":14,"props":583,"children":584},{},[585,590,591,594,596],{"type":13,"tag":21,"props":586,"children":588},{"className":587},[],[589],{"type":18,"value":289},{"type":18,"value":425},{"type":13,"tag":427,"props":592,"children":593},{"type":429},[],{"type":18,"value":595}," be ",{"type":13,"tag":21,"props":597,"children":599},{"className":598},[],[600],{"type":18,"value":601},"VK_STRUCTURE_TYPE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_INFO_EXT",{"type":13,"tag":397,"props":603,"children":605},{"name":604},"VUID-VkRenderingFragmentDensityMapAttachmentInfoEXT-imageView-parameter",[606],{"type":13,"tag":14,"props":607,"children":608},{},[609,614,615,618,620,626],{"type":13,"tag":21,"props":610,"children":612},{"className":611},[],[613],{"type":18,"value":328},{"type":18,"value":425},{"type":13,"tag":427,"props":616,"children":617},{"type":429},[],{"type":18,"value":619}," be a valid ",{"type":13,"tag":293,"props":621,"children":623},{"href":622},"/man/VkImageView",[624],{"type":18,"value":625},"VkImageView",{"type":18,"value":627}," handle",{"type":13,"tag":397,"props":629,"children":631},{"name":630},"VUID-VkRenderingFragmentDensityMapAttachmentInfoEXT-imageLayout-parameter",[632],{"type":13,"tag":14,"props":633,"children":634},{},[635,640,641,644,645,651],{"type":13,"tag":21,"props":636,"children":638},{"className":637},[],[639],{"type":18,"value":339},{"type":18,"value":425},{"type":13,"tag":427,"props":642,"children":643},{"type":429},[],{"type":18,"value":619},{"type":13,"tag":293,"props":646,"children":648},{"href":647},"/man/VkImageLayout",[649],{"type":18,"value":650},"VkImageLayout",{"type":18,"value":652}," value",{"type":13,"tag":654,"props":655,"children":656},"style",{},[657],{"type":18,"value":658},"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":660},[],"markdown",1725732583611]