2 using UnityEngine
.Serialization
;
4 namespace UnityEngine
.Rendering
.PostProcessing
7 /// This class holds settings for the Fast Approximate Anti-aliasing (FXAA) effect.
9 #if UNITY_2017_1_OR_NEWER
10 [UnityEngine
.Scripting
.Preserve
]
13 public sealed class FastApproximateAntialiasing
16 /// If <c>true</c>, it will use a slightly lower quality but faster variant of FXAA. Highly
17 /// recommended on mobile platforms.
19 [FormerlySerializedAs("mobileOptimized")]
20 [Tooltip("Boost performances by lowering the effect quality. This setting is meant to be used on mobile and other low-end platforms but can also provide a nice performance boost on desktops and consoles.")]
21 public bool fastMode
= false;
24 /// Set this to <c>true</c> if you need to keep the alpha channel untouched. Else it will
25 /// use this channel to store internal data used to speed up and improve visual quality.
27 [Tooltip("Keep alpha channel. This will slightly lower the effect quality but allows rendering against a transparent background.")]
28 public bool keepAlpha
= false;