My Project
Loading...
Searching...
No Matches
Engine::IWindow Struct Referenceabstract

Abstract interface for a window in the engine. Allows the engine to interact with different window implementations. More...

#include <IWindow.hpp>

Inheritance diagram for Engine::IWindow:
Engine::WindowOpener

Public Member Functions

virtual ~IWindow ()=default
virtual void * GetNativeWindow () const =0
 Returns a pointer to the native platform window handle (e.g., HWND on Windows).
virtual void windowPollEvents ()=0
 Polls for window events (input, resizing, etc.). Should be called once per frame.

Detailed Description

Abstract interface for a window in the engine. Allows the engine to interact with different window implementations.

Constructor & Destructor Documentation

◆ ~IWindow()

virtual Engine::IWindow::~IWindow ( )
virtualdefault

Member Function Documentation

◆ GetNativeWindow()

virtual void * Engine::IWindow::GetNativeWindow ( ) const
pure virtual

Returns a pointer to the native platform window handle (e.g., HWND on Windows).

Returns
Pointer to the native window

Implemented in Engine::WindowOpener.

◆ windowPollEvents()

virtual void Engine::IWindow::windowPollEvents ( )
pure virtual

Polls for window events (input, resizing, etc.). Should be called once per frame.

Implemented in Engine::WindowOpener.


The documentation for this struct was generated from the following file: