Skip to content

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;

» more...

Move constructor

[[dllimport, dllexport]] VulkanSurface(VulkanSurface&& other) noexcept;

» more...

Initializes the surface from a surface and instance handle.

[[dllimport, dllexport]] VulkanSurface(
    VkSurfaceKHR const& surface,
    VkInstance const& instance,
    HWND const hwnd);

» more...

Parameters

NameDescription
surfaceThe handle of the Vulkan surface.
instanceThe handle of the parent instance.
hwndThe handle of the surface window.