Struct RasterGraphContext
This class declares the context object passed to the execute function of a raster render pass. AddRasterRenderPass<PassData>(String, out PassData)
Namespace: UnityEngine.Experimental.Rendering.RenderGraphModule
Syntax
public struct RasterGraphContext : IDerivedRendergraphContext
Fields
cmd
Command Buffer used for rendering.
Declaration
public RasterCommandBuffer cmd
Field Value
| Type | Description |
|---|---|
| RasterCommandBuffer |
Properties
defaultResources
Render Graph default resources.
Declaration
public readonly RenderGraphDefaultResources defaultResources { get; }
Property Value
| Type | Description |
|---|---|
| RenderGraphDefaultResources |
renderGraphPool
Render Graph pool used for temporary data.
Declaration
public readonly RenderGraphObjectPool renderGraphPool { get; }
Property Value
| Type | Description |
|---|---|
| RenderGraphObjectPool |
Methods
FromInternalContext(InternalRenderGraphContext)
Declaration
public void FromInternalContext(InternalRenderGraphContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| InternalRenderGraphContext | context |