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;
Registers a new device on the backend.
[[dllimport]] virtual void registerDevice(
String const& name,
SharedPtr<device_type>&& device) = 0;
Parameters¶
| Name | Description |
|---|---|
| name | The name of the device for lookups. |
| device | A pointer to the device. |