This file contains structures and logic pertaining to the overall engine itself. The engine is responsible for managing both the platform layers as well as all systems within the engine.
More...
Go to the source code of this file.
This file contains structures and logic pertaining to the overall engine itself. The engine is responsible for managing both the platform layers as well as all systems within the engine.
- Author
- Travis Vroman (travi.nosp@m.s@ko.nosp@m.hieng.nosp@m.ine..nosp@m.com)
- Version
- 1.0
- Date
- 2022-01-10
- Copyright
- Kohi Game Engine is Copyright (c) Travis Vroman 2021-2024
◆ engine_system_states
◆ engine_active_window_get()
◆ engine_create()
Creates the engine, standing up the platform layer and all underlying subsystems.
- Parameters
-
app | A pointer to the application instance associated with the engine |
- Returns
- True on success; otherwise false.
◆ engine_external_system_register()
KAPI khandle engine_external_system_register |
( |
u64 |
system_state_memory_requirement | ) |
|
◆ engine_external_system_state_get()
KAPI void* engine_external_system_state_get |
( |
khandle |
system_handle | ) |
|
◆ engine_frame_data_get()
Obtains a constant pointer to the current frame data.
- Returns
- A constant pointer to the current frame data.
◆ engine_on_event_system_initialized()
void engine_on_event_system_initialized |
( |
void |
| ) |
|
A callback made when the event system is initialized, which internally allows the engine to begin listening for events required for initialization.
◆ engine_run()
Starts the main engine loop.
- Parameters
-
app | A pointer to the application instance associated with the engine |
- Returns
- True on success; otherwise false.
◆ engine_systems_get()
Obtains a constant pointer to the collection of system states from the engine.