LiteFX::App::operator[]¶
Returns the registered backend instance for a type index.
Synopsis¶
Declared in <litefx/app.hpp>
[[dllexport, dllimport]] IBackend const* operator[](std::type_index type) const;
Return Value¶
The registered backend instance for a type index, or nullptr, if the app has no backend of the provided type.
Parameters¶
| Name | Description |
|---|---|
| type | The type index of the requested backend. |