66 std::shared_ptr<utility::RessourceProvider>
69 utility::Engine &_engine;
82 std::shared_ptr<utility::RessourceProvider> ressourceProvider,
83 utility::Engine &engine);
void prepare(void) override
Mark every text as not drawn yet. Called once per frame before the entities are visited.
void cleanup(void) override
Remove the engine objects of the entities that were not drawn this frame. Called once per frame after...
TextRender(std::shared_ptr< utility::RessourceProvider > ressourceProvider, utility::Engine &engine)
Create the system in the Render phase.
~TextRender(void)
Forget the engine objects without removing them from the engine.
virtual void update(const ecs::Entity::Identifier &entityIdentifier) override
Build the renderable of one text from its current components and upload it, creating the engine objec...