GetTierSettings() public static method

public static GetTierSettings ( BuildTargetGroup target, GraphicsTier tier ) : TierSettings
target BuildTargetGroup
tier GraphicsTier
return TierSettings
        public static void SetShaderSettingsForPlatform(BuildTargetGroup target, ShaderHardwareTier tier, PlatformShaderSettings settings)
        {
            TierSettings tierSettings = EditorGraphicsSettings.GetTierSettings(target, (GraphicsTier)tier);

            tierSettings.standardShaderQuality        = settings.standardShaderQuality;
            tierSettings.cascadedShadowMaps           = settings.cascadedShadowMaps;
            tierSettings.reflectionProbeBoxProjection = settings.reflectionProbeBoxProjection;
            tierSettings.reflectionProbeBlending      = settings.reflectionProbeBlending;
            EditorGraphicsSettings.SetTierSettings(target, (GraphicsTier)tier, tierSettings);
        }
        public static PlatformShaderSettings GetShaderSettingsForPlatform(BuildTargetGroup target, ShaderHardwareTier tier)
        {
            TierSettings tierSettings = EditorGraphicsSettings.GetTierSettings(target, (GraphicsTier)tier);

            return(new PlatformShaderSettings
            {
                cascadedShadowMaps = tierSettings.cascadedShadowMaps,
                standardShaderQuality = tierSettings.standardShaderQuality,
                reflectionProbeBoxProjection = tierSettings.reflectionProbeBoxProjection,
                reflectionProbeBlending = tierSettings.reflectionProbeBlending
            });
        }
 public static TierSettings GetTierSettings(BuildTargetGroup target, ShaderHardwareTier tier)
 {
     return(EditorGraphicsSettings.GetTierSettings(target, (GraphicsTier)tier));
 }