3#include <Core/ResourceManager/ResourceHandle.h>
4#include <Core/WorldSerializer/WorldReader.h>
5#include <Foundation/IO/FileSystem/FileReader.h>
6#include <Foundation/Types/UniquePtr.h>
7#include <Foundation/Utilities/Progress.h>
8#include <GameEngine/GameEngineDLL.h>
21 enum class LoadingState
47 void TickSceneLoading();
57 LoadingState m_LoadingState = LoadingState::NotStarted;
58 float m_fLoadingProgress = 0.0f;
The default class to use to read data from a file, implements the plStreamReader interface.
Definition FileReader.h:12
Manages the way a progress bar is subdivided and advanced.
Definition Progress.h:36
This class allows to load a scene in the background and switch to it, once loading has finished.
Definition SceneLoadUtil.h:14
plStringView GetLoadingFailureReason() const
In case loading failed, this returns what went wrong.
Definition SceneLoadUtil.h:36
LoadingState GetLoadingState() const
Returns whether loading is still ongoing or finished.
Definition SceneLoadUtil.h:30
float GetLoadingProgress() const
Returns a loading progress value in 0 to 1 range.
Definition SceneLoadUtil.h:33
plStringView represent a read-only sub-string of a larger string, as it can store a dedicated string ...
Definition StringView.h:34
A Unique ptr manages an object and destroys that object when it goes out of scope....
Definition UniquePtr.h:10
Reads a world description from a stream. Allows to instantiate that world multiple times in different...
Definition WorldReader.h:47