Toast Engine
Loading...
Searching...
No Matches
toast::SDLWindow Class Reference
Inheritance diagram for toast::SDLWindow:
Collaboration diagram for toast::SDLWindow:

Public Member Functions

 SDLWindow (const char *title, unsigned width=1080, unsigned height=720, uint64_t flags=0)
auto shouldClose () const -> bool override
auto nativeHandle () const -> void *override
void pollEvents () override
void swapFramebuffers () override

Additional Inherited Members

Protected Attributes inherited from toast::IBaseWindow
WindowType type

Member Function Documentation

◆ nativeHandle()

auto toast::SDLWindow::nativeHandle ( ) const -> void *
nodiscardoverridevirtual

Implements toast::IBaseWindow.

◆ pollEvents()

void toast::SDLWindow::pollEvents ( )
overridevirtual

Implements toast::IBaseWindow.

◆ shouldClose()

auto toast::SDLWindow::shouldClose ( ) const -> bool
nodiscardoverridevirtual

Implements toast::IBaseWindow.

◆ swapFramebuffers()

void toast::SDLWindow::swapFramebuffers ( )
overridevirtual

Implements toast::IBaseWindow.


The documentation for this class was generated from the following files:
  • engine/src/toast/window/sdl_window.hpp
  • engine/src/toast/window/sdl_window.cpp