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

Description

Allows you to set the PlatformShaderSettings for the specified platform and shader hardware tier.

If the platform you are tweaking is an active build target, the shaders will reload so you can see the results immediately. 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.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961