#include <AssetCollectionAsyncLoaderTestComponent.h>
Inherits ComponentBus.
|
| AZ_RTTI (AssetCollectionAsyncLoaderTestInterface, "{2C000A68-3B9A-4462-B8CF-E2995FA2C208}") |
|
virtual | ~AssetCollectionAsyncLoaderTestInterface () |
|
virtual bool | StartLoadingAssetsFromJsonFile (const AZStd::string &pathToAssetListJson)=0 |
|
virtual bool | StartLoadingAssetsFromAssetList (const AZStd::vector< AZStd::string > &assetList)=0 |
|
virtual void | CancelLoadingAssets ()=0 |
| Cancels any pending job to that has been queued by this component.
|
|
virtual AZStd::vector< AZStd::string > | GetPendingAssetsList () const =0 |
| Returns a list of the assets that have not been loaded yet from the Asset Processor Cache.
|
|
virtual uint32_t | GetCountOfPendingAssets () const =0 |
| Shortcut to GetPendingAssetsList().size()
|
|
virtual bool | ValidateAssetWasLoaded (const AZStd::string &assetPath) const =0 |
| Returns true if the asset was loaded successfully.
|
|
|
static const EBusHandlerPolicy | HandlerPolicy = EBusHandlerPolicy::Single |
|
Interface for AZ::AtomBridge::AssetCollectionAsyncLoaderTestBus, which is an EBus that receives requests to test AssetCollectionAsyncLoader API
◆ ~AssetCollectionAsyncLoaderTestInterface()
virtual AZ::AtomBridge::AssetCollectionAsyncLoaderTestInterface::~AssetCollectionAsyncLoaderTestInterface |
( |
| ) |
|
|
inlinevirtual |
Destroys the instance of the class.
◆ StartLoadingAssetsFromAssetList()
virtual bool AZ::AtomBridge::AssetCollectionAsyncLoaderTestInterface::StartLoadingAssetsFromAssetList |
( |
const AZStd::vector< AZStd::string > & |
assetList | ) |
|
|
pure virtual |
@assetList Similar as above but the list of assets is given directly. Returns true if the asset loading job starts successfully.
◆ StartLoadingAssetsFromJsonFile()
virtual bool AZ::AtomBridge::AssetCollectionAsyncLoaderTestInterface::StartLoadingAssetsFromJsonFile |
( |
const AZStd::string & |
pathToAssetListJson | ) |
|
|
pure virtual |
@pathToAssetListJson Path to a json file with a plain list of file paths. Each path is the path of an asset product. The AssetType will be deduced from the file extension. Returns true if the asset loading job starts successfully.
The documentation for this class was generated from the following file:
- Gems/AtomLyIntegration/AtomBridge/Code/Source/Editor/AssetCollectionAsyncLoaderTestComponent.h