Imports external scene descriptions into a Radient scene. More...
#include <RadientSceneImporter.h>
Public Member Functions | |
| virtual RADIENT_STATUS DILIGENT_CALL_TYPE | ImportScene (const RadientSceneLoadInfo &LoadInfo, const RadientSceneInstantiateInfo &InstantiateInfo, IRadientSceneAsset **ppScene, RadientEntityID &RootEntity)=0 |
| virtual RADIENT_STATUS DILIGENT_CALL_TYPE | InstantiateScene (IRadientSceneAsset *pScene, const RadientSceneInstantiateInfo &InstantiateInfo, RadientEntityID &RootEntity)=0 |
| virtual RADIENT_STATUS DILIGENT_CALL_TYPE | ProcessPendingImports ()=0 |
| Completes pending asynchronous imports whose assets have finished loading. | |
| Public Member Functions inherited from Diligent.IObject | |
| virtual void DILIGENT_CALL_TYPE | QueryInterface (const INTERFACE_ID &IID, IObject **ppInterface)=0 |
| Queries the specific interface. | |
| template<typename DerivedType, typename = typename std::enable_if<std::is_base_of<IObject, DerivedType>::value>::type> | |
| void | QueryInterface (const INTERFACE_ID &IID, DerivedType **ppInterface) |
| virtual ReferenceCounterValueType DILIGENT_CALL_TYPE | AddRef ()=0 |
| Increments the number of strong references by 1. | |
| virtual ReferenceCounterValueType DILIGENT_CALL_TYPE | Release ()=0 |
| virtual IReferenceCounters *DILIGENT_CALL_TYPE | GetReferenceCounters () const =0 |
Imports external scene descriptions into a Radient scene.
|
pure virtual |
Loads a scene asset from a URI and instantiates its scene graph. If loading continues asynchronously, this method creates the import root, schedules the scene graph instantiation, and returns RADIENT_STATUS_PENDING.
|
pure virtual |
Instantiates a previously loaded scene asset into the scene graph. If the scene metadata is still loading, this method creates the import root, schedules the scene graph instantiation, and returns RADIENT_STATUS_PENDING.