Skip to content

LiteFX::Rendering::Backends::VulkanBackend::createSurface

Creates a surface on a window handle.

Synopsis

Declared in <litefx/backends/vulkan.hpp>

[[dllimport, dllexport]] UniquePtr<VulkanSurface> createSurface(HWND const& hwnd) const;

Return Value

The instance of the created surface.

Parameters

NameDescription
hwndThe window handle on which the surface should be created.