Interface IUnsafeRenderGraphBuilder
A builder for an unsafe render pass. AddUnsafePass<PassData>(string, out PassData)
Inherited Members
Namespace: UnityEngine.Rendering.RenderGraphModule
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
[MovedFrom(true, "UnityEngine.Experimental.Rendering.RenderGraphModule", "UnityEngine.Rendering.RenderGraphModule", null)]
public interface IUnsafeRenderGraphBuilder : IBaseRenderGraphBuilder, IDisposable
Methods
SetRenderFunc<PassData>(BaseRenderFunc<PassData, UnsafeGraphContext>)
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, UnsafeGraphContext> renderFunc) where PassData : class, new()
Parameters
Type | Name | Description |
---|---|---|
BaseRenderFunc<PassData, UnsafeGraphContext> | renderFunc | Render function for the pass. |
Type Parameters
Name | Description |
---|---|
PassData | The Type of the class that provides data to the Render Pass. |