Version: 1.7
LanguageEnglish
  • C#

Renderer.shadingRate

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

public Rendering.ShadingRateFragmentSize shadingRate;

Description

Determines which shading rate this renderer uses, if you use a universal render pipeline.

ShadingRateFragmentSize enum defines the granularity of shading rate for this object. By default, it is set to ShadingRateFragmentSize.Size1x1.

See Also: ShadingRateFragmentSize.