LiteFX::Rendering::Backends::DirectX12Backend::registerDevice¶
Registers a new device on the backend.
Synopsis¶
Declared in <litefx/backends/dx12.hpp>
[[dllimport, dllexport]] virtual void registerDevice(
String const& name,
SharedPtr<DirectX12Device>&& device) override;
Parameters¶
| Name | Description |
|---|---|
| name | The name of the device for lookups. |
| device | A pointer to the device. |