Struct RenderGraphParameters
This struct contains properties which control the execution of the Render Graph.
Inherited Members
Namespace: UnityEngine.Rendering.RenderGraphModule
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
[MovedFrom(true, "UnityEngine.Experimental.Rendering.RenderGraphModule", "UnityEngine.Rendering.RenderGraphModule", null)]
public struct RenderGraphParameters
Fields
commandBuffer
Command Buffer used to execute graphic commands.
Declaration
public CommandBuffer commandBuffer
Field Value
Type | Description |
---|---|
CommandBuffer |
currentFrameIndex
Index of the current frame being rendered.
Declaration
public int currentFrameIndex
Field Value
Type | Description |
---|---|
int |
executionId
Identifier for this render graph execution (i.e. EntityId of the Camera rendering). Used for debugging tools.
Declaration
public EntityId executionId
Field Value
Type | Description |
---|---|
EntityId |
executionName
Identifier for this render graph execution.
Declaration
[Obsolete("Not used anymore. The debugging tools use the name of the object identified by executionId. #from(6000.3)")]
public string executionName
Field Value
Type | Description |
---|---|
string |
generateDebugData
Whether the execution should generate debug data and be visible in Render Graph Viewer.
Declaration
public bool generateDebugData
Field Value
Type | Description |
---|---|
bool |
rendererListCulling
Controls whether to enable Renderer List culling or not.
Declaration
public bool rendererListCulling
Field Value
Type | Description |
---|---|
bool |
scriptableRenderContext
Scriptable Render Context used by the render pipeline.
Declaration
public ScriptableRenderContext scriptableRenderContext
Field Value
Type | Description |
---|---|
ScriptableRenderContext |