Struct RasterGraphContext
This class declares the context object passed to the execute function of a raster render pass. AddRasterRenderPass<PassData>(string, out PassData)
Inherited Members
Namespace: UnityEngine.Experimental.Rendering.RenderGraphModule
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public struct RasterGraphContext
Fields
cmd
Command Buffer used for rendering.
Declaration
public RasterCommandBuffer cmd
Field Value
Type | Description |
---|---|
RasterCommandBuffer |
Properties
defaultResources
Render Graph default resources.
Declaration
public RenderGraphDefaultResources defaultResources { get; }
Property Value
Type | Description |
---|---|
RenderGraphDefaultResources |
renderGraphPool
Render Graph pool used for temporary data.
Declaration
public RenderGraphObjectPool renderGraphPool { get; }
Property Value
Type | Description |
---|---|
RenderGraphObjectPool |
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 |
---|---|---|
InternalRenderGraphContext | context | The context to convert |