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

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

void

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

Copied!

RasterShadowRenderModule ()

Construction.


Methods

Init

Copied!

virtual void Init (const json& initData)

Initialization function. Sets up resource pointers, pipeline objects, root signatures, and parameter sets.


Execute

Copied!

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

Copied!

virtual void OnNewContentLoaded (cauldron::ContentBlock * pContentBlock)

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


OnContentUnloaded

Copied!

virtual void OnContentUnloaded (cauldron::ContentBlock * pContentBlock)

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