Navigation
API > API/Runtime > API/Runtime/NNE
Description
Find and return a runtime by name and interface.
This function tries to find a runtime by name and casts it to the interface passed as template argument (e.g. INNERuntime, INNERuntimeCPU or INNERuntimeRDG).
| Name | UE::NNE::GetRuntime |
| Type | function |
| Header File | /Engine/Source/Runtime/NNE/Public/NNE.h |
| Include Path | #include "NNE.h" |
namespace UE
{
namespace NNE
{
template<class T>
TWeakInterfacePtr< T > UE::NNE::GetRuntime
(
const FString & Name
)
}
}
A weak pointer to the runtime if it has been found and implements the interface in the template argument or an invalid pointer otherwise.
Parameters
| Name | Remarks |
|---|---|
| Name | The name of the runtime. |