class BrixelizerGIRenderModule
File location: samples/brixelizergi/brixelizergirendermodule.h
Construction
Return type |
Description |
---|---|
Constructor with default behavior.
|
Methods
Return type |
Description |
---|---|
void |
Init (const json& initData)
Tear down the FFX API Context and release resources.
|
void |
EnableModule (bool enabled)
Initialize FFX API Context, Brixelizer context, create resources and setup UI section.
|
void |
Execute (double deltaTime, cauldron::CommandList * pCmdList)
Submit dynamic instances, dispatch Brixelizer workloads and visualize sparse distance field using the example shader.
|
void |
OnResize (const cauldron::ResolutionInfo & resInfo)
Window resize callback with default behavior.
|
void |
OnNewContentLoaded (cauldron::ContentBlock * pContentBlock)
Create Brixelizer instances for all loaded mesh geometry.
|
void |
OnContentUnloaded (cauldron::ContentBlock * pContentBlock)
Delete Brixelizer instances for all unloaded mesh geometry.
|
Detailed description
Construction
BrixelizerGIRenderModule
Constructor with default behavior.
Methods
Init
Tear down the FFX API Context and release resources.
EnableModule
Initialize FFX API Context, Brixelizer context, create resources and setup UI section.
Execute
virtual void Execute (double deltaTime, cauldron::CommandList * pCmdList)
Submit dynamic instances, dispatch Brixelizer workloads and visualize sparse distance field using the example shader.
OnResize
virtual void OnResize (const cauldron::ResolutionInfo & resInfo)
Window resize callback with default behavior.
OnNewContentLoaded
virtual void OnNewContentLoaded (cauldron::ContentBlock * pContentBlock)
Create Brixelizer instances for all loaded mesh geometry.
OnContentUnloaded
virtual void OnContentUnloaded (cauldron::ContentBlock * pContentBlock)
Delete Brixelizer instances for all unloaded mesh geometry.