Skip to content

LiteFX::App::getBackend

Returns the registered backend instance for a type index.

Synopsis

Declared in <litefx/app.hpp>

[[dllexport, dllimport]] IBackend const* getBackend(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

NameDescription
typeThe type index of the requested backend.