Skip to content

LiteFX::Rendering::RenderBackend::registerDevice

Registers a new device on the backend.

Synopsis

Declared in <litefx/rendering.hpp>

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

Parameters

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