LiteFX::App::startBackend¶
Starts a backend.
Synopsis¶
Declared in <litefx/app.hpp>
[[dllexport, dllimport]] void startBackend(std::type_index type) const;
Description¶
Starting a backend will first stop the active backend of the same BackendType. It will then call all start callbacks for the backend. If the backend has been started successfully, it calls IBackend::activate before returning.
Parameters¶
| Name | Description |
|---|---|
| type | The type index of the backend to start. |
See Also¶
Backend
onBackendStart