docs.unity.cn
    Show / Hide Table of Contents

    Interface IComputeRenderGraphBuilder

    A builder for a compute render pass AddComputePass<PassData>(String, out PassData)

    Inherited Members
    IBaseRenderGraphBuilder.UseTexture(TextureHandle, IBaseRenderGraphBuilder.AccessFlags)
    IBaseRenderGraphBuilder.UseBuffer(BufferHandle, IBaseRenderGraphBuilder.AccessFlags)
    IBaseRenderGraphBuilder.CreateTransientTexture(TextureDesc)
    IBaseRenderGraphBuilder.CreateTransientTexture(TextureHandle)
    IBaseRenderGraphBuilder.CreateTransientBuffer(BufferDesc)
    IBaseRenderGraphBuilder.CreateTransientBuffer(BufferHandle)
    IBaseRenderGraphBuilder.UseRendererList(RendererListHandle)
    IBaseRenderGraphBuilder.EnableAsyncCompute(Boolean)
    IBaseRenderGraphBuilder.AllowPassCulling(Boolean)
    IBaseRenderGraphBuilder.AllowGlobalStateModification(Boolean)
    Namespace: UnityEngine.Experimental.Rendering.RenderGraphModule
    Syntax
    public interface IComputeRenderGraphBuilder : IBaseRenderGraphBuilder, IDisposable

    Methods

    SetRenderFunc<PassData>(BaseRenderFunc<PassData, ComputeGraphContext>)

    Specify the render function to use for this pass. A call to this is mandatory for the pass to be valid.

    Declaration
    void SetRenderFunc<PassData>(BaseRenderFunc<PassData, ComputeGraphContext> renderFunc)
        where PassData : class, new()
    Parameters
    Type Name Description
    BaseRenderFunc<PassData, ComputeGraphContext> renderFunc

    Render function for the pass.

    Type Parameters
    Name Description
    PassData

    The Type of the class that provides data to the Render Pass.

    Extension Methods

    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 17 July 2023