UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
INNERuntimeRDG Class Referenceabstract

#include <NNERuntimeRDG.h>

Public Types

using ECanCreateModelRDGStatus = UE::NNE::EResultStatus
 

Public Member Functions

virtual ECanCreateModelRDGStatus CanCreateModelRDG (const TObjectPtr< UNNEModelData > ModelData) const =0
 
virtual TSharedPtr< UE::NNE::IModelRDGCreateModelRDG (const TObjectPtr< UNNEModelData > ModelData)=0
 

Detailed Description

The interface of a neural network runtime capable of creating RDG models.

Call UE::NNE::GetRuntime<INNERuntimeRDG>(RuntimeName) to get a runtime implementing this interface.

Member Typedef Documentation

◆ ECanCreateModelRDGStatus

Member Function Documentation

◆ CanCreateModelRDG()

virtual ECanCreateModelRDGStatus INNERuntimeRDG::CanCreateModelRDG ( const TObjectPtr< UNNEModelData ModelData) const
pure virtual

Check if the runtime is able to create a model given some ModelData.

Parameters
ModelDataThe model data for which to create a model.
Returns
True if the runtime is able to create the model, false otherwise.

◆ CreateModelRDG()

virtual TSharedPtr< UE::NNE::IModelRDG > INNERuntimeRDG::CreateModelRDG ( const TObjectPtr< UNNEModelData ModelData)
pure virtual

Create a model given some ModelData.

The caller must make sure ModelData remains valid throughout the call. ModelData is not required anymore after the model has been created. The caller can decide to convert the result into a shared pointer if required (e.g. if the model needs to be shared with the render thread).

Parameters
ModelDataThe model data for which to create a model.
Returns
A caller owned model representing the neural network created from ModelData.

The documentation for this class was generated from the following file: