docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IComputeRenderGraphBuilder

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

    Inherited Members
    IBaseRenderGraphBuilder.UseTexture(in TextureHandle, IBaseRenderGraphBuilder.AccessFlags)
    IBaseRenderGraphBuilder.UseBuffer(in BufferHandle, IBaseRenderGraphBuilder.AccessFlags)
    IBaseRenderGraphBuilder.CreateTransientTexture(in TextureDesc)
    IBaseRenderGraphBuilder.CreateTransientTexture(in TextureHandle)
    IBaseRenderGraphBuilder.CreateTransientBuffer(in BufferDesc)
    IBaseRenderGraphBuilder.CreateTransientBuffer(in BufferHandle)
    IBaseRenderGraphBuilder.UseRendererList(in RendererListHandle)
    IBaseRenderGraphBuilder.EnableAsyncCompute(bool)
    IBaseRenderGraphBuilder.AllowPassCulling(bool)
    IBaseRenderGraphBuilder.AllowGlobalStateModification(bool)
    IDisposable.Dispose()
    Namespace: UnityEngine.Experimental.Rendering.RenderGraphModule
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    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, bool)
    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)