docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class FastApproximateAntialiasing

    This class holds settings for the Fast Approximate Anti-aliasing (FXAA) effect.

    Inheritance
    object
    FastApproximateAntialiasing
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    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
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)