docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface ICameraHistoryWriteAccess

    User API to get history write access for a user history type instance. Write access is valid and available after the history type has been requested. Otherwise a null is returned. Typically called by the history type producer render pass in the render pipeline.

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

    Methods

    GetHistoryForWrite<Type>()

    Get write access to an instance of certain history type. It is expected that the caller will filling the contents of the type textures. Null if not requested beforehand. On first get of a type, the type instance is created.

    Declaration
    Type GetHistoryForWrite<Type>() where Type : ContextItem, new()
    Returns
    Type Description
    Type

    True if a type has been requested earlier. False otherwise.

    Type Parameters
    Name Description
    Type

    Type of the history instance.

    IsAccessRequested<Type>()

    Check if a type has been requested and should be written this frame.

    Declaration
    bool IsAccessRequested<Type>() where Type : ContextItem
    Returns
    Type Description
    bool

    True if a type has been requested earlier. False otherwise.

    Type Parameters
    Name Description
    Type

    Type of the history instance.

    IsWritten<Type>()

    Check if a type was already written this frame by some render pass.

    Declaration
    bool IsWritten<Type>() where Type : ContextItem
    Returns
    Type Description
    bool

    True if a type has been written earlier. False otherwise.

    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)