Class FastApproximateAntialiasing
This class holds settings for the Fast Approximate Anti-aliasing (FXAA) effect.
Inherited Members
Namespace: UnityEngine.Rendering.PostProcessing
Assembly: Unity.Postprocessing.Runtime.dll
Syntax
[Preserve]
[Serializable]
public sealed class FastApproximateAntialiasing
Fields
fastMode
If true
, it will use a slightly lower quality but faster variant of FXAA. Highly
recommended on mobile platforms.
Declaration
[FormerlySerializedAs("mobileOptimized")]
[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.")]
public bool fastMode
Field Value
Type | Description |
---|---|
bool |
keepAlpha
Set this to true
if you need to keep the alpha channel untouched. Else it will
use this channel to store internal data used to speed up and improve visual quality.
Declaration
[Tooltip("Keep alpha channel. This will slightly lower the effect quality but allows rendering against a transparent background.\nThis setting has no effect if the camera render target has no alpha channel.")]
public bool keepAlpha
Field Value
Type | Description |
---|---|
bool |