Version: 1.10
LanguageEnglish
  • C#

ShadingRateTileSize

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

The ShadingRateTileSize enumeration defines the tile size (in pixels) of framebuffer regions that corresponds to each texel in a fragment shading rate attachment.

Each value represents a length in pixels. When configuring image‑based variable rate shading, the tile width and height can be set independently.

Properties

Size8Tile side length of 8 pixels.
Size16Tile side length of 16 pixels.
Size32Tile side length of 32 pixels.
SizeCountThe count of ShadingRateTileSize.