Class Window¶
- Defined in File Window.h
Inheritance Relationships¶
Derived Type¶
public Azura::GLFWWindow
(Class GLFWWindow)
Class Documentation¶
-
class
Window
¶ Subclassed by Azura::GLFWWindow
Public Functions
-
virtual
~Window
()¶
-
Window
(String title, U32 width, U32 height)¶
-
const void *
GetHandle
() const¶
-
virtual bool
Initialize
() = 0¶
-
virtual void
StartListening
() = 0¶
-
void
SetUpdateCallback
(std::function<void(float)> eventUpdate)¶
-
void
SetMouseEventCallback
(std::function<void(MouseEvent)> eventFunc)¶
-
virtual void
Destroy
() = 0¶
-
virtual void
SetCursorState
(CursorState state) = 0¶
-
virtual void
ResetCursor
() = 0¶
-
ViewportDimensions
GetViewport
() const¶
-
void
SetUpdateRate
(UpdateRate rate)¶
-
SwapChainRequirements
GetSwapChainRequirements
() const¶
-
U32
GetWidth
() const¶
-
U32
GetHeight
() const¶
Protected Functions
-
void
SetHandle
(void *window)¶
-
const char *
GetTitle
() const¶
-
void
CallUpdateFunction
(float timeDelta) const¶
-
void
CallMouseEventFunction
(MouseEvent e) const¶
-
virtual