#include <asset_databases.h>
This interface provides helper functions to register asset repositories.
Static Public Member Functions | |
static MAXON_METHOD Result< Url > | FindRepository (const AssetRepositoryRef &repository) |
static MAXON_METHOD Opt< const AssetRepositoryRef & > | FindRepository (const Url &url) |
static MAXON_METHOD Result< void > | GetDatabases (const ValueReceiver< const AssetDatabaseStruct & > &entry) |
static MAXON_METHOD Result< void > | SetDatabases (const Block< AssetDatabaseStruct > &newDataBases) |
static MAXON_METHOD Result< void > | WriteGmlDependencies () |
static MAXON_METHOD Url | GetAssetDatabaseCachePath () |
static MAXON_METHOD Result< void > | SetAssetDatabaseCachePath (const Url &cachePath) |
static MAXON_METHOD Result< Int64 > | GetAssetDatabaseCacheSize () |
static MAXON_METHOD Result< void > | ClearAssetDatabaseCache () |
static MAXON_METHOD Bool | WaitForDatabaseLoading () |
static MAXON_METHOD Result< void > | ReloadAssetRepositories () |
Private Member Functions | |
MAXON_INTERFACE (AssetDataBasesInterface, MAXON_REFERENCE_CONST, "net.maxon.interface.assetdatabases") | |
|
private |
|
static |
Returns the url of a asset repository.
[in] | repository | Repository to find. |
|
static |
|
static |
Returns all repositories added by the user.
[in] | entry | ValueReceiver to receive the entries. |
|
static |
Set the new user repositories.
[in] | newDataBases | Block with tuples of the new urls and activation states. |
|
static |
Writes the gml file with the dependencies of the given asset repository.
|
static |
GetAssetDatabaseCachePath returns the path to the cache folder.
|
static |
SetAssetDatabaseCachePath sets a new cache path to store temporary downloaded objects
[in] | cachePath | Path to set. |
|
static |
GetAssetDatabaseCacheSize returns the size of the cached files.
|
static |
ClearAssetDatabaseCache deletes the cache.
|
static |
WaitForDatabaseLoading description.
|
static |
ReloadDatabases reloads the asset repositories from disk.