LiteFX::App::startBackend¶
Attempts to start a backend of type TBackend and stops the active backend of the same BackendType, if any.
Synopsis¶
Declared in <litefx/app.hpp>
template<typename TBackend>
requires meta::implements<TBackend, IBackend>
void startBackend();
Exceptions¶
| Name | Thrown on |
|---|---|
InvalidArgumentException | Thrown, if no backend of type TBackend is registered. |
Template Parameters¶
| Name | Description |
|---|---|
| TBackend | The type of the backend to start. |