A subsystem of the RenderSystem; tracks opaque and alpha-tested models present in this ECSWorld to be rendered at the next render step.
More...
#include <render_system.hpp>
A subsystem of the RenderSystem; tracks opaque and alpha-tested models present in this ECSWorld to be rendered at the next render step.
◆ OpaqueQueue()
ToyMaker::RenderSystem::OpaqueQueue::OpaqueQueue |
( |
std::weak_ptr< ECSWorld > | world | ) |
|
|
inlineexplicit |
Constructs a new OpaqueQueue System.
- Parameters
-
world | The world this queue will belong to. |
◆ enqueueTo()
void RenderSystem::OpaqueQueue::enqueueTo |
( |
BaseRenderStage & | renderStage, |
|
|
float | simulationProgress ) |
Adds opaque render units to a render stage to be rendered this frame.
- Parameters
-
renderStage | The render stage being added to. |
simulationProgress | The progress towards the next simulation step after the previous one, represented as a number between 0 and 1. |
◆ getSystemTypeName()
static std::string ToyMaker::RenderSystem::OpaqueQueue::getSystemTypeName |
( |
| ) |
|
|
inlinestatic |
Gets the system type string associated with this System.
- Returns
- std::string This queue's system type string.
The documentation for this class was generated from the following files: