vOOlkan
An object oriented approach to Vulkan
Vulkan::Window Class Reference

Manages the creation and lifetime of an OS window. More...

#include <Window.h>

Public Member Functions

 Window (int width, int height, const std::string &title="Vulkan window")
 Creates a window. More...
 
 Window (Window &)=delete
 
 Window (Window &&)=delete
 
Windowoperator= (Window &)=delete
 
Windowoperator= (Window &&)=delete
 
GLFWwindow * operator+ () const
 

Detailed Description

Manages the creation and lifetime of an OS window.

Constructor & Destructor Documentation

◆ Window() [1/3]

Vulkan::Window::Window ( int  width,
int  height,
const std::string &  title = "Vulkan window" 
)

Creates a window.

The underlying type of the window is GLFWwindow*.

Parameters
widthWidth of the window.
heightHeight of the window.
titleTitle of the window.

◆ Window() [2/3]

Vulkan::Window::Window ( Window )
delete

◆ Window() [3/3]

Vulkan::Window::Window ( Window &&  )
delete

Member Function Documentation

◆ operator+()

GLFWwindow * Vulkan::Window::operator+ ( ) const

Returns the underlying Vulkan object for the window.

Returns
The underlying Vulkan object for the window.

◆ operator=() [1/2]

Window & Vulkan::Window::operator= ( Window &&  )
delete

◆ operator=() [2/2]

Window & Vulkan::Window::operator= ( Window )
delete

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