docs.unity3d.com
Search Results for

    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.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Rendering.RenderGraphModule
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    [MovedFrom(true, "UnityEngine.Experimental.Rendering.RenderGraphModule", "UnityEngine.Rendering.RenderGraphModule", null)]
    public struct RenderGraphContext

    Properties

    cmd

    Command Buffer used for rendering.

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

    defaultResources

    Render Graph default resources.

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

    renderContext

    Scriptable Render Context used for rendering.

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

    renderGraphPool

    Render Graph pool used for temporary data.

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

    Methods

    FromInternalContext(InternalRenderGraphContext)

    This function is only public for techical resons of the c# language and should not be called outside the package.

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

    The context to convert

    Extension Methods

    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)