docs.unity.cn
    Show / Hide Table of Contents

    Class ComputeGraphContext

    This class declares the context object passed to the execute function of a compute render pass. AddComputePass<PassData>(String, out PassData)

    Inheritance
    Object
    ComputeGraphContext
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.Experimental.Rendering.RenderGraphModule
    Syntax
    public class ComputeGraphContext : IDerivedRendergraphContext

    Fields

    cmd

    Command Buffer used for rendering.

    Declaration
    public ComputeCommandBuffer cmd
    Field Value
    Type Description
    ComputeCommandBuffer

    Properties

    defaultResources

    Render Graph default resources.

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

    renderGraphPool

    Render Graph pool used for temporary data.

    Declaration
    public 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 07 August 2023