Class ComputeGraphContext
This class declares the context object passed to the execute function of a compute render pass.
Add
Inherited Members
Namespace: UnityEngine .Rendering.RenderGraphModule
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
[MovedFrom(true, "UnityEngine.Experimental.Rendering.RenderGraphModule", "UnityEngine.Rendering.RenderGraphModule", null)]
public class ComputeGraphContext
Fields
cmd
Command Buffer used for rendering.
Declaration
public ComputeCommandBuffer cmd
Field Value
Type | Description |
---|---|
Compute |
Properties
defaultResources
Render Graph default resources.
Declaration
public RenderGraphDefaultResources defaultResources { get; }
Property Value
Type | Description |
---|---|
Render |
renderGraphPool
Render Graph pool used for temporary data.
Declaration
public RenderGraphObjectPool renderGraphPool { get; }
Property Value
Type | Description |
---|---|
Render |
Methods
FromInternalContext(InternalRenderGraphContext)
This function is only public for techical resons of the c# language and should not be called outside the package.
Declaration
public void FromInternalContext(InternalRenderGraphContext context)
Parameters
Type | Name | Description |
---|---|---|
Internal |
context | The context to convert |