docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IPerFrameHistoryAccessTracker

    User API to request access for an instance of the user history type. Tracks the history types that were requested by the render pipeline features on this frame. Requested history types are then made available for the future frames. Request is active for one frame only and a new request should be made every frame. Types that were not requested are eventually reset and GPU resources released.

    Namespace: UnityEngine.Rendering
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    public interface IPerFrameHistoryAccessTracker

    Methods

    RequestAccess<Type>()

    Mark a certain history texture type (class) as a requirement for next frame. Note: Requesting a history doesn't mean it will be actually available. E.g. The first frame doesn't have any history data available at all.

    Declaration
    void RequestAccess<Type>() where Type : ContextItem
    Type Parameters
    Name Description
    Type

    Type of the history instance.

    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, 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)