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
Loader.hpp
Go to the documentation of this file.
1
7
8#ifndef GALAXY_CORE_LOADER_HPP_
9#define GALAXY_CORE_LOADER_HPP_
10
11#include <entt/entity/fwd.hpp>
12
13namespace galaxy
14{
15 namespace core
16 {
20 class Loader final
21 {
22 public:
26 Loader();
27
31 ~Loader();
32
38 void load_all();
39
43 void load_resources();
44
48 void load_user_config();
49
53 void load_window();
54
58 void build_resources();
59 };
60 } // namespace core
61} // namespace galaxy
62
63#endif
Asset and Config loader.
Definition Loader.hpp:21
void load_resources()
Load game resources.
Definition Loader.cpp:91
~Loader()
Destructor.
Definition Loader.cpp:39
void build_resources()
Builds opengl resources on the main thread.
Definition Loader.cpp:176
void load_all()
Loads resources, user config and window settings.
Definition Loader.cpp:43
void load_user_config()
Only loads user config.
Definition Loader.cpp:132
Loader()
Constructor.
Definition Loader.cpp:35
void load_window()
Only loads the window settings.
Definition Loader.cpp:153
Timer.hpp galaxy.
Definition Async.hpp:17