Class TaaHistory
Temporal Anti-aliasing (TAA) persistent data for Universal Rendering Pipeline. Holds the TAA color history accumulation texture.
Inherited Members
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
Reset()
Release TAA accumulation textures.
Declaration
public override void Reset()
Overrides
UnityEngine.Rendering.ContextItem.Reset()