Class WindowSurface¶
Defined in File surface.hpp
Class Documentation¶
-
class WindowSurface¶
RAII wrapper class for VkSurfaceKHR.
Public Functions
-
WindowSurface(VkInstance instance, GLFWwindow *window)¶
Default constructor.
- Parameters:
instance – The Vulkan instance which will be associated with this surface.
window – The window which will be associated with this surface.
-
WindowSurface(const WindowSurface&) = delete¶
-
WindowSurface(WindowSurface&&) noexcept¶
-
~WindowSurface()¶
-
WindowSurface &operator=(const WindowSurface&) = delete¶
-
WindowSurface &operator=(WindowSurface&&) = delete¶
-
inline auto surface() const¶
-
WindowSurface(VkInstance instance, GLFWwindow *window)¶