galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
Loading...
Searching...
No Matches
galaxy::systems::RenderSystem Class Referencefinal

Processess entities with a renderable component. More...

#include <RenderSystem.hpp>

+ Inheritance diagram for galaxy::systems::RenderSystem:
+ Collaboration diagram for galaxy::systems::RenderSystem:

Public Member Functions

 RenderSystem ()
 Constructor.
 
virtual ~RenderSystem ()
 Destructor.
 
void update (entt::registry &registry) override
 Abstract implementation for updating the system. Use the manager to retreive your components.
 
- Public Member Functions inherited from galaxy::systems::System
virtual ~System () noexcept
 Destructor.
 
const std::string & id () const noexcept
 Get identifier.
 

Additional Inherited Members

- Protected Member Functions inherited from galaxy::systems::System
 System (const std::string &id) noexcept
 Constructor.
 
- Protected Attributes inherited from galaxy::systems::System
std::string m_id
 Debug id.
 

Detailed Description

Processess entities with a renderable component.

Definition at line 20 of file RenderSystem.hpp.

Constructor & Destructor Documentation

◆ RenderSystem()

galaxy::systems::RenderSystem::RenderSystem ( )

Constructor.

Definition at line 97 of file RenderSystem.cpp.

◆ ~RenderSystem()

galaxy::systems::RenderSystem::~RenderSystem ( )
virtual

Destructor.

Definition at line 101 of file RenderSystem.cpp.

Member Function Documentation

◆ update()

void galaxy::systems::RenderSystem::update ( entt::registry & registry)
overridevirtual

Abstract implementation for updating the system. Use the manager to retreive your components.

Parameters
EnTTregistry to process entities from.

Implements galaxy::systems::System.

Definition at line 105 of file RenderSystem.cpp.

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: