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::core::Loader Class Referencefinal

Asset and Config loader. More...

#include <Loader.hpp>

+ Collaboration diagram for galaxy::core::Loader:

Public Member Functions

 Loader ()
 Constructor.
 
 ~Loader ()
 Destructor.
 
void load_all ()
 Loads resources, user config and window settings.
 
void load_resources ()
 Load game resources.
 
void load_user_config ()
 Only loads user config.
 
void load_window ()
 Only loads the window settings.
 
void build_resources ()
 Builds opengl resources on the main thread.
 

Detailed Description

Asset and Config loader.

Definition at line 20 of file Loader.hpp.

Constructor & Destructor Documentation

◆ Loader()

galaxy::core::Loader::Loader ( )

Constructor.

Definition at line 35 of file Loader.cpp.

◆ ~Loader()

galaxy::core::Loader::~Loader ( )

Destructor.

Definition at line 39 of file Loader.cpp.

Member Function Documentation

◆ load_all()

void galaxy::core::Loader::load_all ( )

Loads resources, user config and window settings.

Does not load maps.

Definition at line 43 of file Loader.cpp.

+ Here is the call graph for this function:

◆ load_resources()

void galaxy::core::Loader::load_resources ( )

Load game resources.

Definition at line 91 of file Loader.cpp.

+ Here is the caller graph for this function:

◆ load_user_config()

void galaxy::core::Loader::load_user_config ( )

Only loads user config.

Definition at line 132 of file Loader.cpp.

+ Here is the caller graph for this function:

◆ load_window()

void galaxy::core::Loader::load_window ( )

Only loads the window settings.

Definition at line 153 of file Loader.cpp.

+ Here is the caller graph for this function:

◆ build_resources()

void galaxy::core::Loader::build_resources ( )

Builds opengl resources on the main thread.

Definition at line 176 of file Loader.cpp.

+ Here is the caller graph for this function:

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