GraphicsTier

时间:2023-03-09 17:46:23
GraphicsTier

GraphicsTier

1、enum GraphicsTier

  GraphicsTier

2、enum ShaderQuality

  GraphicsTier

3、enum BuildTargetGroup

  GraphicsTier

4、EditorGraphicsSettings.SetTierSettings

  public static void SetTierSettings(BuildTargetGroup target, Rendering.GraphicsTier tier, Rendering.TierSettings settings);

  Please note that if PlatformShaderSettings set to different tiers are not identical, then tier variants will be generated for the shader even if #pragma hardware_tier_variants is missing.

5、Shader Hardware Variants

  To enable the generation of shader hardware variants, add #pragma hardware_tier_variants renderer, where renderer is one of the available renderering platforms:

  GraphicsTier

  GraphicsTier

参考:

1、https://docs.unity3d.com/ScriptReference/Rendering.GraphicsTier.html