class RasterShadowRenderModule
The raster shadow render module is responsible for rendering all rasterized shadow geometry.
File location: framework/rendermodules/rastershadow/rastershadowrendermodule.h
Construction
Return type |
Description |
---|---|
Construction.
|
Methods
Return type |
Description |
---|---|
void |
Init (const json& initData)
Initialization function. Sets up resource pointers, pipeline objects, root signatures, and parameter sets.
|
void |
Execute (double deltaTime, cauldron::CommandList * pCmdList)
Renders all active shadow geometry in the “Scene“ from each shadow-casting light’s point of view.
|
void |
OnNewContentLoaded (cauldron::ContentBlock * pContentBlock)
Callback invoked when new content is loaded so we can create additional pipelines and resources if needed.
|
void |
OnContentUnloaded (cauldron::ContentBlock * pContentBlock)
Callback invoked when content is unloaded. Permits us to clean things up if needed.
|
Detailed description
The raster shadow render module is responsible for rendering all rasterized shadow geometry.
Construction
RasterShadowRenderModule
Construction.
Methods
Init
Initialization function. Sets up resource pointers, pipeline objects, root signatures, and parameter sets.
Execute
virtual void Execute (double deltaTime, cauldron::CommandList * pCmdList)
Renders all active shadow geometry in the Scene
from each shadow-casting light’s point of view.
OnNewContentLoaded
virtual void OnNewContentLoaded (cauldron::ContentBlock * pContentBlock)
Callback invoked when new content is loaded so we can create additional pipelines and resources if needed.
OnContentUnloaded
virtual void OnContentUnloaded (cauldron::ContentBlock * pContentBlock)
Callback invoked when content is unloaded. Permits us to clean things up if needed.