Struct Demeter¶
Defined in File Demeter.hpp
Nested Relationships¶
Nested Types¶
Struct Documentation¶
-
struct Demeter¶
Public Functions
-
Demeter() = default¶
-
~Demeter() = default¶
-
inline const InputState &GetInput() const¶
-
inline const std::unique_ptr<ShaderProgram> &GetShader() const¶
-
inline void DeleteTexture(const std::string &path)¶
-
inline void DeleteObject3D(const std::string &path)¶
-
inline void SetIsImGuiWindowCreated(bool isCreated)¶
-
void Run()¶
Main loop for the Demeter application.
This function starts the main event loop, processing SDL events and updating/drawing the application state while
isRunningis true. It handles the SDL_QUIT event to terminate the loop. If OpenGL debug mode (glDebug) is enabled, it checks for and logs any OpenGL errors after each frame.Note
This function blocks until the application is instructed to quit.
-
Demeter() = default¶