LiteFX::App::use¶
Adds a backend to the app.
Synopsis¶
Declared in <litefx/app.hpp>
[[dllexport, dllimport]] virtual void use(UniquePtr<IBackend>&& backend);
Exceptions¶
| Name | Thrown on |
|---|---|
InvalidArgumentException | Thrown, if the backend is not initialized. |
Parameters¶
| Name | Description |
|---|---|
| backend | The backend to add. |