class TranslucencyRenderModule
The Translucency render module is responsible for rendering all translucent geometry and particles in a sorted (back to front) manner.
File location: framework/rendermodules/translucency/translucencyrendermodule.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 translucent geometry and particles 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.
|
void |
AddOptionalTransparencyOptions (const OptionalTransparencyOptions & options)
Sets optional transparency options to append to created pipelines.
|
Detailed description
The Translucency render module is responsible for rendering all translucent geometry and particles in a sorted (back to front) manner.
Construction
TranslucencyRenderModule
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 translucent geometry and particles 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.
AddOptionalTransparencyOptions
void AddOptionalTransparencyOptions (const OptionalTransparencyOptions & options)
Sets optional transparency options to append to created pipelines.