LiteFX::App::findBackend¶
Returns the registered backend instance for a type index.
Synopsis¶
Declared in <litefx/app.hpp>
template<typename TBackend>
requires meta::implements<TBackend, IBackend>
TBackend const* findBackend() const;
Return Value¶
The registered backend instance for a type index, or nullptr, if the app has no backend of the provided type.
Template Parameters¶
| Name | Description |
|---|---|
| TBackend | The type, the type index is derived from. |