15 virtual int PreInit(
int ArgC,
char* ArgV[])
override;
16 virtual int Init()
override;
17 virtual void PreTick(
double deltaTime)
override;
18 virtual void Tick(
double deltaTime)
override;
20 virtual void Exit()
override;
26 void SetDefaultWindowHints();
31 WindowGuard() : m_window(
nullptr) {}
32 WindowGuard(
int width,
int height,
const std::string& windowName);
37 WindowGuard(WindowGuard&& other)
noexcept;
38 WindowGuard& operator=(WindowGuard&& other)
noexcept;
42 WindowGuard(
const WindowGuard& other) =
delete;
43 WindowGuard& operator=(
const WindowGuard& other) =
delete;
45 operator GLFWwindow*()
const {
return m_window; }
46 GLFWwindow* operator->()
const {
return m_window; }
53 std::string m_fontPath;
Definition RendererSubsystem.h:8
virtual void Tick(double deltaTime) override
Called every frame regardless of if the app is closing.
Definition RendererSubsystem.cpp:810
virtual void PreTick(double deltaTime) override
Runs before to tick to get if the app should close or set up a new frame.
Definition RendererSubsystem.cpp:794
virtual void TickRendering(double deltaTime) override
Called every frame if the app is NOT closing.
Definition RendererSubsystem.cpp:812
virtual int Init() override
Init the subsystem / start.
Definition RendererSubsystem.cpp:779
virtual void Exit() override
Called when closing the app.
Definition RendererSubsystem.cpp:833
virtual int PreInit(int ArgC, char *ArgV[]) override
Definition RendererSubsystem.cpp:89