docs.unity.cn
    Show / Hide Table of Contents

    Struct RenderGraphContext

    This class specifies the context given to every render pass. This context type passes a generic command buffer that can be used to schedule all commands. This will eventually be deprecated in favor of more specific contexts that have more specific command buffer types.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: UnityEngine.Experimental.Rendering.RenderGraphModule
    Syntax
    public struct RenderGraphContext : IDerivedRendergraphContext

    Properties

    cmd

    Command Buffer used for rendering.

    Declaration
    public readonly CommandBuffer cmd { get; }
    Property Value
    Type Description
    CommandBuffer

    defaultResources

    Render Graph default resources.

    Declaration
    public readonly RenderGraphDefaultResources defaultResources { get; }
    Property Value
    Type Description
    RenderGraphDefaultResources

    renderContext

    Scriptable Render Context used for rendering.

    Declaration
    public readonly ScriptableRenderContext renderContext { get; }
    Property Value
    Type Description
    ScriptableRenderContext

    renderGraphPool

    Render Graph pool used for temporary data.

    Declaration
    public readonly RenderGraphObjectPool renderGraphPool { get; }
    Property Value
    Type Description
    RenderGraphObjectPool

    Methods

    FromInternalContext(InternalRenderGraphContext)

    Declaration
    public void FromInternalContext(InternalRenderGraphContext context)
    Parameters
    Type Name Description
    InternalRenderGraphContext context

    Extension Methods

    AnalyticsUtils.ToNestedColumn<T>(T, Boolean)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, Boolean)
    ReflectionUtils.Invoke(Object, String, Object[])
    ReflectionUtils.SetField(Object, String, Object)
    ReflectionUtils.GetField(Object, String)
    ReflectionUtils.GetFields(Object)
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 08 September 2023