Skip to content

LiteFX::Rendering::Backends::VulkanSurface::VulkanSurface

Initializes the surface from a surface and instance handle.

Synopsis

Declared in <litefx/backends/vulkan_api.hpp>

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

Parameters

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