docs.unity3d.com
    Show / Hide Table of Contents

    Class FastApproximateAntialiasing

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

    Inheritance
    Object
    FastApproximateAntialiasing
    Namespace: UnityEngine.Rendering.PostProcessing
    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
    Boolean

    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.")]
    public bool keepAlpha
    Field Value
    Type Description
    Boolean
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023