A subsystem of the RenderSystem; tracks light objects in this ECSWorld scheduled for rendering at the next render step.
More...
#include <render_system.hpp>
|
static std::string | getSystemTypeName () |
| Gets the system type string associated with this system.
|
|
|
void | onInitialize () override |
| Initializes objects related to this queue.
|
|
|
std::shared_ptr< StaticMesh > | mSphereMesh { nullptr } |
| The light volume associated with each light object, scaled up or down according to its computed radius.
|
|
A subsystem of the RenderSystem; tracks light objects in this ECSWorld scheduled for rendering at the next render step.
◆ LightQueue()
ToyMaker::RenderSystem::LightQueue::LightQueue |
( |
std::weak_ptr< ECSWorld > | world | ) |
|
|
inlineexplicit |
◆ enqueueTo()
void RenderSystem::LightQueue::enqueueTo |
( |
BaseRenderStage & | renderStage, |
|
|
float | simulationProgress ) |
Adds a light unit to be rendered by this render stage at the next render step.
- Parameters
-
renderStage | The stage the light is being added to. |
simulationProgress | The progress from the end of the previous simulation step to the next simulation step, as a number between 1 and 0. |
◆ getSystemTypeName()
static std::string ToyMaker::RenderSystem::LightQueue::getSystemTypeName |
( |
| ) |
|
|
inlinestatic |
Gets the system type string associated with this system.
- Returns
- std::string The system type string associated with this system.
The documentation for this class was generated from the following files: