LiteFX::Rendering::Backends::VulkanSurface::VulkanSurface¶
Initializes the surface from a surface and instance handle.
Synopses¶
Declared in <litefx/backends/vulkan_api.hpp>
Copy constructor
VulkanSurface(VulkanSurface const& other) = delete;
Move constructor
[[dllimport, dllexport]] VulkanSurface(VulkanSurface&& other) noexcept;
Initializes the surface from a surface and instance handle.
[[dllimport, dllexport]] VulkanSurface(
VkSurfaceKHR const& surface,
VkInstance const& instance,
HWND const hwnd);
Parameters¶
| Name | Description |
|---|---|
| surface | The handle of the Vulkan surface. |
| instance | The handle of the parent instance. |
| hwnd | The handle of the surface window. |