Manages the entity-component-system (ECS) operations for the ACE framework.
More...
#include <ecs.h>
Manages the entity-component-system (ECS) operations for the ACE framework.
Definition at line 11 of file ecs.h.
◆ deinit()
Deinitializes the ECS with the given context.
- Parameters
-
ctx | The context to deinitialize. |
- Returns
- True if deinitialization was successful, false otherwise.
Definition at line 16 of file ecs.cpp.
◆ get_scene() [1/2]
auto unravel::ecs::get_scene |
( |
| ) |
-> scene& |
Gets the current scene.
- Returns
- A reference to the current scene.
Definition at line 30 of file ecs.cpp.
◆ get_scene() [2/2]
auto unravel::ecs::get_scene |
( |
| ) |
const -> const scene& |
Gets the current scene (const version).
- Returns
- A constant reference to the current scene.
Definition at line 35 of file ecs.cpp.
◆ init()
Initializes the ECS with the given context.
- Parameters
-
ctx | The context to initialize with. |
- Returns
- True if initialization was successful, false otherwise.
Definition at line 9 of file ecs.cpp.
◆ on_frame_render()
Renders a frame.
- Parameters
-
ctx | The context for rendering. |
dt | The delta time for the frame. |
◆ unload_scene()
void unravel::ecs::unload_scene |
( |
| ) |
|
Unloads the current scene.
Definition at line 25 of file ecs.cpp.
The documentation for this struct was generated from the following files:
- C:/Workspace/github/UnravelEngine/UnravelEngine/engine/engine/ecs/ecs.h
- C:/Workspace/github/UnravelEngine/UnravelEngine/engine/engine/ecs/ecs.cpp