Struct RenderContext
The high-level renderer context. Used to collect the draw calls for the scene rendering. Can be used to perform a custom rendering.
Assembly: FlaxEngine.dll
File: Engine/Graphics/RenderTask.h
Syntax
public struct RenderContext
Constructors
RenderContext()
Declaration
public RenderContext() = default
RenderContext(SceneRenderTask* task)
Fields
Buffers
GPULocker
The GPU access locking critical section to protect data access when performing multi-threaded rendering.
Declaration
public static CriticalSection GPULocker
Field Value
CriticalSection
|
List
LodProxyView
The proxy render view used to synchronize objects level of detail during rendering (eg. during shadow maps rendering passes). It's optional.
Declaration
public RenderView* LodProxyView = nullptr
Field Value
RenderView
|
Task
The scene rendering task that is a source of renderable objects (optional).
Declaration
public SceneRenderTask* Task = nullptr
Field Value
SceneRenderTask
|