[{"data":1,"prerenderedAt":484},["ShallowReactive",2],{"0nZFZWRvXq":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":483,"_id":4},"VkPhysicalDeviceShadingRateImagePropertiesNV","Structure describing shading rate image limits that can be supported by an implementation","VK_NV_shading_rate_image","structs",[],{"type":10,"children":11,"toc":481},"root",[12,28,301,395,430,443,475],{"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\nas:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,135],{"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 VkPhysicalDeviceShadingRateImagePropertiesNV {\n VkStructureType sType;\n void* pNext;\n VkExtent2D shadingRateTexelSize;\n uint32_t shadingRatePaletteSize;\n uint32_t shadingRateMaxCoarseSamples;\n} VkPhysicalDeviceShadingRateImagePropertiesNV;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,90,99,113,126],{"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}," VkPhysicalDeviceShadingRateImagePropertiesNV {\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],{"type":13,"tag":45,"props":81,"children":82},{"style":52},[83],{"type":18,"value":84}," void*",{"type":13,"tag":45,"props":86,"children":87},{"style":63},[88],{"type":18,"value":89}," pNext;\n",{"type":13,"tag":45,"props":91,"children":93},{"class":47,"line":92},4,[94],{"type":13,"tag":45,"props":95,"children":96},{"style":63},[97],{"type":18,"value":98}," VkExtent2D shadingRateTexelSize;\n",{"type":13,"tag":45,"props":100,"children":102},{"class":47,"line":101},5,[103,108],{"type":13,"tag":45,"props":104,"children":105},{"style":52},[106],{"type":18,"value":107}," uint32_t",{"type":13,"tag":45,"props":109,"children":110},{"style":63},[111],{"type":18,"value":112}," shadingRatePaletteSize;\n",{"type":13,"tag":45,"props":114,"children":116},{"class":47,"line":115},6,[117,121],{"type":13,"tag":45,"props":118,"children":119},{"style":52},[120],{"type":18,"value":107},{"type":13,"tag":45,"props":122,"children":123},{"style":63},[124],{"type":18,"value":125}," shadingRateMaxCoarseSamples;\n",{"type":13,"tag":45,"props":127,"children":129},{"class":47,"line":128},7,[130],{"type":13,"tag":45,"props":131,"children":132},{"style":63},[133],{"type":18,"value":134},"} VkPhysicalDeviceShadingRateImagePropertiesNV;\n",{"type":13,"tag":33,"props":136,"children":141},{"className":137,"code":138,"filename":139,"language":140,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PhysicalDeviceShadingRateImagePropertiesNV {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n shading_rate_texel_size: vk::Extent2D,\n shading_rate_palette_size: u32,\n shading_rate_max_coarse_samples: u32,\n}\n","Rust","rs",[142],{"type":13,"tag":21,"props":143,"children":144},{"__ignoreMap":39},[145,168,201,223,252,273,293],{"type":13,"tag":45,"props":146,"children":147},{"class":47,"line":48},[148,153,157,163],{"type":13,"tag":45,"props":149,"children":150},{"style":52},[151],{"type":18,"value":152},"pub",{"type":13,"tag":45,"props":154,"children":155},{"style":52},[156],{"type":18,"value":60},{"type":13,"tag":45,"props":158,"children":160},{"style":159},"--shiki-default:#953800;--shiki-dark:#FFA657",[161],{"type":18,"value":162}," PhysicalDeviceShadingRateImagePropertiesNV",{"type":13,"tag":45,"props":164,"children":165},{"style":63},[166],{"type":18,"value":167}," {\n",{"type":13,"tag":45,"props":169,"children":170},{"class":47,"line":69},[171,176,181,186,191,196],{"type":13,"tag":45,"props":172,"children":173},{"style":63},[174],{"type":18,"value":175}," s_type",{"type":13,"tag":45,"props":177,"children":178},{"style":52},[179],{"type":18,"value":180},":",{"type":13,"tag":45,"props":182,"children":183},{"style":159},[184],{"type":18,"value":185}," vk",{"type":13,"tag":45,"props":187,"children":188},{"style":52},[189],{"type":18,"value":190},"::",{"type":13,"tag":45,"props":192,"children":193},{"style":159},[194],{"type":18,"value":195},"StructureType",{"type":13,"tag":45,"props":197,"children":198},{"style":63},[199],{"type":18,"value":200},",\n",{"type":13,"tag":45,"props":202,"children":203},{"class":47,"line":78},[204,209,213,218],{"type":13,"tag":45,"props":205,"children":206},{"style":63},[207],{"type":18,"value":208}," p_next",{"type":13,"tag":45,"props":210,"children":211},{"style":52},[212],{"type":18,"value":180},{"type":13,"tag":45,"props":214,"children":215},{"style":52},[216],{"type":18,"value":217}," *mut",{"type":13,"tag":45,"props":219,"children":220},{"style":63},[221],{"type":18,"value":222}," c_void,\n",{"type":13,"tag":45,"props":224,"children":225},{"class":47,"line":92},[226,231,235,239,243,248],{"type":13,"tag":45,"props":227,"children":228},{"style":63},[229],{"type":18,"value":230}," shading_rate_texel_size",{"type":13,"tag":45,"props":232,"children":233},{"style":52},[234],{"type":18,"value":180},{"type":13,"tag":45,"props":236,"children":237},{"style":159},[238],{"type":18,"value":185},{"type":13,"tag":45,"props":240,"children":241},{"style":52},[242],{"type":18,"value":190},{"type":13,"tag":45,"props":244,"children":245},{"style":159},[246],{"type":18,"value":247},"Extent2D",{"type":13,"tag":45,"props":249,"children":250},{"style":63},[251],{"type":18,"value":200},{"type":13,"tag":45,"props":253,"children":254},{"class":47,"line":101},[255,260,264,269],{"type":13,"tag":45,"props":256,"children":257},{"style":63},[258],{"type":18,"value":259}," shading_rate_palette_size",{"type":13,"tag":45,"props":261,"children":262},{"style":52},[263],{"type":18,"value":180},{"type":13,"tag":45,"props":265,"children":266},{"style":159},[267],{"type":18,"value":268}," u32",{"type":13,"tag":45,"props":270,"children":271},{"style":63},[272],{"type":18,"value":200},{"type":13,"tag":45,"props":274,"children":275},{"class":47,"line":115},[276,281,285,289],{"type":13,"tag":45,"props":277,"children":278},{"style":63},[279],{"type":18,"value":280}," shading_rate_max_coarse_samples",{"type":13,"tag":45,"props":282,"children":283},{"style":52},[284],{"type":18,"value":180},{"type":13,"tag":45,"props":286,"children":287},{"style":159},[288],{"type":18,"value":268},{"type":13,"tag":45,"props":290,"children":291},{"style":63},[292],{"type":18,"value":200},{"type":13,"tag":45,"props":294,"children":295},{"class":47,"line":128},[296],{"type":13,"tag":45,"props":297,"children":298},{"style":63},[299],{"type":18,"value":300},"}\n",{"type":13,"tag":302,"props":303,"children":304},"ul",{},[305,326,345,363,379],{"type":13,"tag":306,"props":307,"children":308},"li",{},[309,315,317,324],{"type":13,"tag":21,"props":310,"children":312},{"className":311},[],[313],{"type":18,"value":314},"sType",{"type":18,"value":316}," is a ",{"type":13,"tag":318,"props":319,"children":321},"a",{"href":320},"/man/VkStructureType",[322],{"type":18,"value":323},"VkStructureType",{"type":18,"value":325}," value identifying this structure.",{"type":13,"tag":306,"props":327,"children":328},{},[329,335,337,343],{"type":13,"tag":21,"props":330,"children":332},{"className":331},[],[333],{"type":18,"value":334},"pNext",{"type":18,"value":336}," is ",{"type":13,"tag":21,"props":338,"children":340},{"className":339},[],[341],{"type":18,"value":342},"NULL",{"type":18,"value":344}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":306,"props":346,"children":347},{},[348,353,355,361],{"type":13,"tag":349,"props":350,"children":352},"anchor",{"id":351},"limits-shadingRateTexelSize",[],{"type":18,"value":354}," ",{"type":13,"tag":21,"props":356,"children":358},{"className":357},[],[359],{"type":18,"value":360},"shadingRateTexelSize",{"type":18,"value":362}," indicates the\nwidth and height of the portion of the framebuffer corresponding to each\ntexel in the shading rate image.",{"type":13,"tag":306,"props":364,"children":365},{},[366,370,371,377],{"type":13,"tag":349,"props":367,"children":369},{"id":368},"limits-shadingRatePaletteSize",[],{"type":18,"value":354},{"type":13,"tag":21,"props":372,"children":374},{"className":373},[],[375],{"type":18,"value":376},"shadingRatePaletteSize",{"type":18,"value":378}," indicates\nthe maximum number of palette entries supported for the shading rate\nimage.",{"type":13,"tag":306,"props":380,"children":381},{},[382,386,387,393],{"type":13,"tag":349,"props":383,"children":385},{"id":384},"limits-shadingRateMaxCoarseSamples",[],{"type":18,"value":354},{"type":13,"tag":21,"props":388,"children":390},{"className":389},[],[391],{"type":18,"value":392},"shadingRateMaxCoarseSamples",{"type":18,"value":394},"\nspecifies the maximum number of coverage samples supported in a single\nfragment.\nIf the product of the fragment size derived from the base shading rate\nand the number of coverage samples per pixel exceeds this limit, the\nfinal shading rate will be adjusted so that its product does not exceed\nthe limit.",{"type":13,"tag":14,"props":396,"children":397},{},[398,400,405,407,412,414,420,422,428],{"type":18,"value":399},"If the ",{"type":13,"tag":21,"props":401,"children":403},{"className":402},[],[404],{"type":18,"value":4},{"type":18,"value":406}," structure is included in the ",{"type":13,"tag":21,"props":408,"children":410},{"className":409},[],[411],{"type":18,"value":334},{"type":18,"value":413}," chain of the\n",{"type":13,"tag":318,"props":415,"children":417},{"href":416},"/man/VkPhysicalDeviceProperties2",[418],{"type":18,"value":419},"VkPhysicalDeviceProperties2",{"type":18,"value":421}," structure passed to\n",{"type":13,"tag":318,"props":423,"children":425},{"href":424},"/man/vkGetPhysicalDeviceProperties2",[426],{"type":18,"value":427},"vkGetPhysicalDeviceProperties2",{"type":18,"value":429},", it is filled in with each\ncorresponding implementation-dependent property.",{"type":13,"tag":14,"props":431,"children":432},{},[433,435,441],{"type":18,"value":434},"These properties are related to the ",{"type":13,"tag":318,"props":436,"children":438},{"href":437},"/chapters/primsrast#primsrast-shading-rate-image",[439],{"type":18,"value":440},"shading\nrate image",{"type":18,"value":442}," feature.",{"type":13,"tag":444,"props":445,"children":447},"validity-group",{"name":446},"Valid Usage (Implicit)",[448],{"type":13,"tag":449,"props":450,"children":452},"validity-field",{"name":451},"VUID-VkPhysicalDeviceShadingRateImagePropertiesNV-sType-sType",[453],{"type":13,"tag":14,"props":454,"children":455},{},[456,461,462,467,469],{"type":13,"tag":21,"props":457,"children":459},{"className":458},[],[460],{"type":18,"value":314},{"type":18,"value":354},{"type":13,"tag":463,"props":464,"children":466},"normative",{"type":465},"must",[],{"type":18,"value":468}," be ",{"type":13,"tag":21,"props":470,"children":472},{"className":471},[],[473],{"type":18,"value":474},"VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADING_RATE_IMAGE_PROPERTIES_NV",{"type":13,"tag":476,"props":477,"children":478},"style",{},[479],{"type":18,"value":480},"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":482},[],"markdown",1725732575034]