ShadingRateFragmentSize

enumeration

Description

Constants that specify the shading rate. Not all values are supported by all hardware. Avaibility should be queried first. See ShadingRateInfo.availableFragmentSizes for details.

Additional resources: ShadingRateInfo.supportsPerImageTile, ShadingRateInfo.QueryNativeValue

Properties

FragmentSize1x1Specifies no change to the vertical and horizontal resolution.
FragmentSize1x2Specifies that the shading rate should reduce vertical resolution 2x.
FragmentSize2x1Specifies that the shading rate should reduce horizontal resolution 2x.
FragmentSize2x2Specifies that the shading rate should reduce the resolution of both axes 2x.
FragmentSize1x4Specifies that the shading rate should reduce vertical resolution 4x.
FragmentSize4x1Specifies that the shading rate should reduce horizontal resolution 4x.
FragmentSize2x4Specifies that the shading rate should reduce horizontal resolution 2x, and reduce vertical resolution 4x.
FragmentSize4x2Specifies that the shading rate should reduce horizontal resolution 4x, and reduce vertical resolution 2x.
FragmentSize4x4Specifies that the shading rate should reduce the resolution of both axes 4x.

Did you find this page useful? Please give it a rating: