Class MainRenderTask
The main game rendering task used by the engine.
For Main Render Task its Output may be null because game can be rendered directly to the native window backbuffer. This allows to increase game rendering performance (reduced memory usage and data transfer). User should use post effects pipeline to modify the final frame.
Inherited Members
MainRenderTask
Assembly: FlaxEngine.dll
File: Engine/Graphics/RenderTask.h
Syntax
public class MainRenderTask : public SceneRenderTask
Fields
Instance
Gets the main game rendering task. Use it to plug custom rendering logic for your game.
Declaration
public static MainRenderTask* Instance
Field Value
MainRenderTask
|
Methods
OnBegin(GPUContext* context)
Called on task rendering begin.
Declaration
public virtual void OnBegin(GPUContext* context) override
Parameters
GPUContext
context
The GPU context. |