class GBufferRenderModule

The GBuffer render module is responsible for rendering the gbuffer for all loaded scene entities.

File location: framework/rendermodules/gbuffer/gbufferrendermodule.h

Construction

Return type

Description

Construction.

Methods

Return type

Description

void

Init (const json& initData)
Initialization function. Sets up target pointers and other global data.

void

Execute (double deltaTime, cauldron::CommandList * pCmdList)
Renders all active geometric entities in the “Scene“.

void

Callback invoked when new content is loaded so we can create additional pipelines if needed.

void

Callback invoked when content is unloaded. Permits us to clean things up if needed.

Detailed description

The GBuffer render module is responsible for rendering the gbuffer for all loaded scene entities. If initialized to do so, will also output motion vectors for the frame.

Construction

GBufferRenderModule

Copied!

GBufferRenderModule ()

Construction.


Methods

Init

Copied!

virtual void Init (const json& initData)

Initialization function. Sets up target pointers and other global data.


Execute

Copied!

virtual void Execute (double deltaTime, cauldron::CommandList * pCmdList)

Renders all active geometric entities in the Scene.


OnNewContentLoaded

Copied!

virtual void OnNewContentLoaded (cauldron::ContentBlock * pContentBlock)

Callback invoked when new content is loaded so we can create additional pipelines if needed.


OnContentUnloaded

Copied!

virtual void OnContentUnloaded (cauldron::ContentBlock * pContentBlock)

Callback invoked when content is unloaded. Permits us to clean things up if needed.