Module |
|
Header |
/Engine/Source/Runtime/AssetRegistry/Public/AssetRegistryState.h |
Include |
#include "AssetRegistryState.h" |
class FAssetRegistryState
The state of an asset registry, this is used internally by IAssetRegistry to represent the disk cache, and is also accessed directly to save/load cooked caches
Name | Description | |
---|---|---|
|
FAssetRegistryState() |
Name | Description | |
---|---|---|
|
~FAssetRegistryState() |
Name | Description | ||
---|---|---|---|
|
AddAssetData ( |
Adds the asset data to the lookup maps |
|
|
FAssetPackag... |
CreateOrGetAssetPackageData ( |
Finds an existing package data, or creates a new one to modify |
|
Dump |
Writes out the state in textual form. Use arguments to control which segments to emit. |
|
|
EnumerateAllAssets ( |
Enumerates asset data for all assets in the registry state. |
|
|
EnumerateAssets ( |
Enumerate asset data for all assets that match the filter. |
|
|
GetAllAssets ( |
Gets asset data for all assets in the registry state. |
|
|
GetAllocatedSize ( |
Returns memory size of entire registry, optionally logging sizes |
|
|
const FAsset... |
GetAssetByObjectPath ( |
Gets the asset data for the specified object path |
|
const FAsset... |
GetAssetPackageData ( |
Returns non-editable pointer to the asset package data |
|
const TMap< ... |
GetAssetPackageDataMap() |
Returns const version of internal PackageName->PackageData map for fast iteration |
|
GetAssets ( |
Gets asset data for all assets that match the filter. |
|
|
const TArray... |
GetAssetsByClassName ( |
Gets the asset data for the specified asset class |
|
const TArray... |
GetAssetsByPackageName ( |
Gets the asset data for the specified package name |
|
const TArray... |
GetAssetsByTagName ( |
Gets the asset data for the specified asset tag |
|
GetDependencies ( |
Gets a list of packages and searchable names that are referenced by the supplied package or name. |
|
|
GetNumAssets() |
Returns the number of assets in this state |
|
|
const TMap< ... |
GetObjectPathToAssetDataMap() |
Returns const version of internal ObjectPath->AssetData map for fast iteration |
|
GetPrimaryAssetsIds ( |
Get the set of primary assets contained in this state |
|
|
GetReferencers ( |
Gets a list of packages and searchable names that reference the supplied package or name. |
|
|
const TMap< ... |
GetTagToAssetDatasMap() |
Returns const version of internal Tag->AssetDatas map for fast iteration |
|
HasAssets ( |
Does the given path contain assets? This function doesn't recurse into sub-paths. |
|
|
InitializeFromExisting ( |
Initializes cache from existing set of asset data and depends nodes |
|
|
InitializeFromExisting ( |
Initializes cache from existing set of asset data and depends nodes |
|
|
InitializeFromExistingAndPrune ( |
Initializes a cache from an existing using a set of filters. |
|
|
IsFilterValid |
Checks a filter to make sure there are no illegal entries |
|
|
PruneAssetData |
Prunes an asset cache, this removes asset data, nodes, and package data that isn't needed. |
|
|
PruneAssetData ( |
Prunes an asset cache, this removes asset data, nodes, and package data that isn't needed. |
|
|
RemoveAssetData ( |
Removes the asset data from the lookup maps |
|
|
RemovePackageData ( |
Removes existing package data |
|
|
Reset() |
Resets to default state |
|
|
Serialize ( |
Serialize the registry to/from a file, skipping editor only data |
|
|
StripAssetRegistryKeyForObject |
Removes a key from the key value pairs for an object |
|
|
UpdateAssetData ( |
Finds an existing asset data based on object path and updates it with the new value and updates lookup maps |
|
|
UpdateAssetData ( |
Updates an existing asset data with the new value and updates lookup maps |
Name |
Description |
|
---|---|---|
|
EInitializationMode |
Enum controlling how we initialize this state |