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 |
OnNewContentLoaded (cauldron::ContentBlock * pContentBlock)
Callback invoked when new content is loaded so we can create additional pipelines if needed.
|
void |
OnContentUnloaded (cauldron::ContentBlock * pContentBlock)
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
Construction.
Methods
Init
Initialization function. Sets up target pointers and other global data.
Execute
virtual void Execute (double deltaTime, cauldron::CommandList * pCmdList)
Renders all active geometric entities in the Scene
.
OnNewContentLoaded
virtual void OnNewContentLoaded (cauldron::ContentBlock * pContentBlock)
Callback invoked when new content is loaded so we can create additional pipelines if needed.
OnContentUnloaded
virtual void OnContentUnloaded (cauldron::ContentBlock * pContentBlock)
Callback invoked when content is unloaded. Permits us to clean things up if needed.