73 virtual void Run() = 0;
78 virtual void Update(
float deltaTime) = 0;
Defines a generic application interface for rendering-based programs.
virtual void Shutdown()=0
Performs cleanup and shuts down the application.
virtual FrameMetrics GetFrameMetrics() const =0
Returns performance metrics of the last processed frame.
virtual void Initialize()=0
Initializes the application and its subsystems.
virtual ScreenSettings GetScreenSettings() const =0
Retrieves the current screen or window settings.
virtual void Run()=0
Runs the main application loop.
virtual ~IApplication()=default
Virtual destructor for safe polymorphic deletion.
virtual void Draw()=0
Executes the rendering logic for the current frame.
virtual void Update(float deltaTime)=0
Updates the application state.
Stores CPU timing statistics for a rendered frame.
Describes window and display configuration for the application.
std::string name
The window or application name.
unsigned int width
Screen or window width in pixels.
unsigned int height
Screen or window height in pixels.
bool isFullScreen
Whether the application runs in fullscreen mode.