docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    object
    STP.HistoryContext
    Implements
    IDisposable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    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

    Implements

    IDisposable

    Extension Methods

    ReflectionUtils.GetField(object, string)
    ReflectionUtils.GetFields(object)
    ReflectionUtils.Invoke(object, string, params object[])
    ReflectionUtils.SetField(object, string, object)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, T)
    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)