Hubris Engine Dev
A Project to learn and get into Game Engine developement.
 
Loading...
Searching...
No Matches
Hubris::Graphics::Window Class Referenceabstract

#include <Window.h>

+ Inheritance diagram for Hubris::Graphics::Window:

Public Member Functions

virtual ~Window ()=default
 
virtual void Init ()=0
 Intializes the rendering backend and creates the Window.
 
virtual void Update () noexcept=0
 Poll events.
 
virtual void Close () noexcept=0
 Closes the Window and frees resources.
 
virtual Viewport GetViewport () const noexcept=0
 Gets the window dimension.
 
virtual bool IsValid () const noexcept=0
 
virtual bool IsRunning () const noexcept=0
 
virtual void * GetNative () const noexcept=0
 Get the Native object.
 

Detailed Description

Definition at line 23 of file Window.h.

Constructor & Destructor Documentation

◆ ~Window()

virtual Hubris::Graphics::Window::~Window ( )
virtualdefault

Member Function Documentation

◆ Close()

virtual void Hubris::Graphics::Window::Close ( )
pure virtualnoexcept

Closes the Window and frees resources.

Implemented in Hubris::Graphics::Vulkan::vkWindow.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetNative()

virtual void * Hubris::Graphics::Window::GetNative ( ) const
pure virtualnoexcept

Get the Native object.

Returns
void* an platform dependent handle.

Implemented in Hubris::Graphics::Vulkan::vkWindow.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetViewport()

virtual Viewport Hubris::Graphics::Window::GetViewport ( ) const
pure virtualnoexcept

Gets the window dimension.

Returns
The Dimensions wrapped in a Viewport Object.

Implemented in Hubris::Graphics::Vulkan::vkWindow.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Init()

virtual void Hubris::Graphics::Window::Init ( )
pure virtual

Intializes the rendering backend and creates the Window.

Exceptions
Canthrow.

Implemented in Hubris::Graphics::Vulkan::vkWindow.

◆ IsRunning()

virtual bool Hubris::Graphics::Window::IsRunning ( ) const
pure virtualnoexcept

Implemented in Hubris::Graphics::Vulkan::vkWindow.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsValid()

virtual bool Hubris::Graphics::Window::IsValid ( ) const
pure virtualnoexcept
Returns
returns true if the Window is valid.

Implemented in Hubris::Graphics::Vulkan::vkWindow.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Update()

virtual void Hubris::Graphics::Window::Update ( )
pure virtualnoexcept

Poll events.

Implemented in Hubris::Graphics::Vulkan::vkWindow.


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