Class STP.HistoryContext
Opaque history information required by STP's implementation Users are expected to create their own persistent history context, update it once per frame, and provide it to STP's execution logic through the configuration structure.
Implements
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public sealed class STP.HistoryContext : IDisposable
Methods
Dispose()
Releases the internal resources held within the history context Typically things like texture allocations
Declaration
public void Dispose()
Update(ref HistoryUpdateInfo)
Updated the state of the history context based on the provided information This may result in re-allocation of resources internally if state has changed and is now incompatible or if this is the first update
Declaration
public bool Update(ref STP.HistoryUpdateInfo info)
Parameters
Type | Name | Description |
---|---|---|
STP.HistoryUpdateInfo | info | information required to update the history context |
Returns
Type | Description |
---|---|
bool | True if the internal history data within the context is valid after the update operation |