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, AccessFlags)
    IBaseRenderGraphBuilder.UseGlobalTexture(int, AccessFlags)
    IBaseRenderGraphBuilder.UseAllGlobalTextures(bool)
    IBaseRenderGraphBuilder.SetGlobalTextureAfterPass(in TextureHandle, int)
    IBaseRenderGraphBuilder.UseBuffer(in BufferHandle, 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)
    IBaseRenderGraphBuilder.EnableFoveatedRasterization(bool)
    IDisposable.Dispose()
    Namespace: UnityEngine.Rendering.RenderGraphModule
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    [MovedFrom(true, "UnityEngine.Experimental.Rendering.RenderGraphModule", "UnityEngine.Rendering.RenderGraphModule", null)]
    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

    ReflectionUtils.GetField(object, string)
    ReflectionUtils.GetFields(object)
    ReflectionUtils.Invoke(object, string, params object[])
    ReflectionUtils.SetField(object, string, object)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(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)