Class LowLevelGraphContext
This class declares the context object passed to the execute function of a low level render pass. AddLowLevelPass<PassData>(String, out PassData)
Namespace: UnityEngine.Experimental.Rendering.RenderGraphModule
Syntax
public class LowLevelGraphContext : IDerivedRendergraphContext
Fields
cmd
LowLevel Command Buffer used for rendering.
Declaration
public LowLevelCommandBuffer cmd
Field Value
Type | Description |
---|---|
LowLevelCommandBuffer |
Properties
defaultResources
Render Graph default resources.
Declaration
public RenderGraphDefaultResources defaultResources { get; }
Property Value
Type | Description |
---|---|
RenderGraphDefaultResources |
legacyCmd
Underlying CommandBuffer used for rendering. It should only be used for backward-compatibility purpose.
Declaration
public CommandBuffer legacyCmd { get; }
Property Value
Type | Description |
---|---|
CommandBuffer |
renderGraphPool
Render Graph pool used for temporary data.
Declaration
public RenderGraphObjectPool renderGraphPool { get; }
Property Value
Type | Description |
---|---|
RenderGraphObjectPool |
Methods
FromInternalContext(InternalRenderGraphContext)
Declaration
public void FromInternalContext(InternalRenderGraphContext context)
Parameters
Type | Name | Description |
---|---|---|
InternalRenderGraphContext | context |