docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class TaaHistory

    Temporal Anti-aliasing (TAA) persistent data for Universal Rendering Pipeline. Holds the TAA color history accumulation texture.

    Inheritance
    object
    ContextItem
    CameraHistoryItem
    TaaHistory
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Rendering.Universal
    Assembly: Unity.RenderPipelines.Universal.Runtime.dll
    Syntax
    public sealed class TaaHistory : CameraHistoryItem

    Methods

    GetAccumulationTexture(int)

    Get TAA accumulation texture.

    Declaration
    public RTHandle GetAccumulationTexture(int eyeIndex = 0)
    Parameters
    Type Name Description
    int eyeIndex

    Eye index for XR multi-pass.

    Returns
    Type Description
    RTHandle

    Current frame RTHandle for TAA accumulation texture.

    GetAccumulationVersion(int)

    Get TAA accumulation texture version. Tracks which frame the accumulation was last updated.

    Declaration
    public int GetAccumulationVersion(int eyeIndex = 0)
    Parameters
    Type Name Description
    int eyeIndex

    Eye index for XR multi-pass.

    Returns
    Type Description
    int

    Accumulation texture version.

    OnCreate(BufferedRTHandleSystem, uint)

    Called internally on instance creation. Sets up RTHandle ids.

    Declaration
    public override void OnCreate(BufferedRTHandleSystem owner, uint typeId)
    Parameters
    Type Name Description
    BufferedRTHandleSystem owner

    BufferedRTHandleSystem of the owning camera.

    uint typeId

    Unique id given to TaaHistory by the owning camera.

    Overrides
    CameraHistoryItem.OnCreate(BufferedRTHandleSystem, uint)

    Reset()

    Release TAA accumulation textures.

    Declaration
    public override void Reset()
    Overrides
    UnityEngine.Rendering.ContextItem.Reset()
    In This Article
    Back to top
    Copyright © 2024 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)