SetTierSettings
Set the TierSettings for a given build target and graphics tier.
Read time 2 minutesLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Rendering
- Assembly: UnityEditor.CoreModule
SetTierSettings(BuildTargetGroup, GraphicsTier, TierSettings)
Set the TierSettings for a given build target and graphics tier.
public static void SetTierSettings(BuildTargetGroup target, GraphicsTier tier, TierSettings settings)
Parameters
Remarks
Important: This API is compatible only with the Built-In Render Pipeline, which is no longer supported. The Universal Render Pipeline (URP) doesn't use graphics tiers. To adjust rendering for different devices in URP, assign a different URP Asset to each quality level.
If you change the TierSettings for the active build target, Unity reloads the shaders so you can see the results immediately.
SetTierSettings(NamedBuildTarget, GraphicsTier, TierSettings)
Set the TierSettings for a given build target and graphics tier.
public static void SetTierSettings(NamedBuildTarget target, GraphicsTier tier, TierSettings settings)
Parameters
Remarks
Important: This API is compatible only with the Built-In Render Pipeline, which is no longer supported. The Universal Render Pipeline (URP) doesn't use graphics tiers. To adjust rendering for different devices in URP, assign a different URP Asset to each quality level.
If you change the TierSettings for the active build target, Unity reloads the shaders so you can see the results immediately.