Class RenderContextBatch
The high-level renderer context batch that encapsulates multiple rendering requests within a single task (eg. optimize main view scene rendering and shadow projections at once).
Inheritance
System.Object
RenderContextBatch
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public sealed class RenderContextBatch : ValueType
Fields
Buffers
Contexts
The all render views collection for the current rendering (main view, shadow projections, etc.).
Declaration
public RenderContext[] Contexts
Field Value
RenderContext[]
|
EnableAsync
Enables using async tasks via Job System when performing drawing.
Declaration
public bool EnableAsync
Field Value
System.Boolean
|
Task
The scene rendering task that is a source of renderable objects (optional).
Declaration
public SceneRenderTask Task
Field Value
SceneRenderTask
|
WaitLabels
The Job System labels to wait on, after draw calls collecting.
Declaration
public ulong[] WaitLabels
Field Value
System.UInt64[]
|