Skip to content

LiteFX::Rendering::Backends::VulkanBackend::registerDevice

Registers a new device on the backend.

Synopsis

Declared in <litefx/backends/vulkan.hpp>

[[dllimport, dllexport]] virtual void registerDevice(
    String const& name,
    SharedPtr<VulkanDevice>&& device) override;

Parameters

NameDescription
nameThe name of the device for lookups.
deviceA pointer to the device.