|
SimpleGL
1.1.0
A framework for platform independent rendering
|
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... | |
This class wraps a Vulkan surface.
Definition at line 25 of file surface.hpp.
| sgl::Surface::Surface | ( | WindowVK * | window | ) |
Creates a new window surface.
| window | The 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.
| VkSurfaceKHR sgl::Surface::getHandle | ( | ) |
Returns the hande of the surface.
Definition at line 37 of file surface.cpp.
1.8.11