SimpleGL  1.1.0
A framework for platform independent rendering
Public Member Functions | List of all members
sgl::Surface Class Reference

This class wraps a Vulkan surface. More...

#include <surface.hpp>

Public Member Functions

 Surface (WindowVK *window)
 Creates a new window surface. More...
 
 ~Surface (void)
 Destroys the window surface. More...
 
VkSurfaceKHR getHandle ()
 Returns the hande of the surface. More...
 

Detailed Description

This class wraps a Vulkan surface.

Definition at line 25 of file surface.hpp.

Constructor & Destructor Documentation

sgl::Surface::Surface ( WindowVK window)

Creates a new window surface.

Parameters
windowThe GLFW window to use.

Definition at line 21 of file surface.cpp.

sgl::Surface::~Surface ( void  )

Destroys the window surface.

Definition at line 30 of file surface.cpp.

Member Function Documentation

VkSurfaceKHR sgl::Surface::getHandle ( )

Returns the hande of the surface.

Returns
The hande of the surface.

Definition at line 37 of file surface.cpp.


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