3#include "spark/core/Export.h"
4#include "spark/core/Renderer2D.h"
6#include "spark/events/Event.h"
7#include "spark/math/Vector2.h"
8#include "spark/patterns/Signal.h"
9#include "spark/render/vk/VulkanBackend.h"
62 bool isMinimized()
const;
80 [[nodiscard]]
void* nativeWindow()
const;
83 std::unique_ptr<Renderer2D<render::vk::VulkanBackend>> m_renderer;
An object that can render 2D graphics on a surface.
Definition Renderer2D.h:22
An interface representing any window of any platform.
Definition Window.h:19
spark::patterns::Signal< spark::math::Vector2< unsigned int > > onResize
Event triggered when the window is resized.
Definition Window.h:33
A base class for all events in SPARK.
Definition Event.h:53
A vector with two components.
Definition Vector2.h:13
A signal is a class used to emit events.
Definition Slot.h:10
A struct containing the settings used to create a window.
Definition Window.h:25