Skip to content

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

Registers a new device on the backend.

Synopses

Declared in <litefx/backends/vulkan.hpp>

Registers a new device on the backend.

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

» more...

Registers a new device on the backend.

[[dllimport]] virtual void registerDevice(
    String const& name,
    SharedPtr<device_type>&& device) = 0;

» more...

Parameters

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