Skip to content

LiteFX::Rendering::Backends::VulkanSurface

Represents a Vulkan ISurface.

Synopsis

Declared in <litefx/backends/vulkan_api.hpp>

class [[dllimport, dllexport]] VulkanSurface final
    : public ISurface
    , public Resource<VkSurfaceKHR>

Base Classes

NameDescription
ISurfaceRepresents a surface to render to.
Resource<VkSurfaceKHR>Implements the IResource interface.

Type Aliases

Member Functions

NameDescription
VulkanSurface [constructor]Initializes the surface from a surface and instance handle.
~VulkanSurface [destructor] [virtual]Destructor
operator= Assignment operators
handle [virtual]Returns the resource managed by the class.
instance Returns the handle of the backend, the surface has been created from.
windowHandle Returns the window handle of the surface.

Protected Member Functions

NameDescription
operator= Assignment operators
handle [virtual]Returns the resource managed by the class.

Friends

NameDescription
LiteFX::Rendering::Backends::VulkanSurface::VulkanSurfaceImpl
LiteFX::PimplPtrA smart pointer that manages an implementation instance for a public interface class.