Navigation
API > API/Plugins > API/Plugins/USDClasses > API/Plugins/USDClasses/UUsdAssetCache2
Describes all information we know about an asset in storage. Have to put definition here because of how TLruCache is header-only
| |
|
| Name |
FCachedAssetInfo |
| Type |
class |
| Header File |
/Engine/Plugins/Runtime/USDCore/Source/USDClasses/Public/USDAssetCache2.h |
| Include Path |
#include "USDAssetCache2.h" |
Syntax
class FCachedAssetInfo
Variables
Public
| Name |
Type |
Remarks |
Include Path |
Unreal Specifiers |
| AssetClassName |
FSoftObjectPath |
Information we need separately in order to deserialize the UObject from bulkdata. |
USDAssetCache2.h |
|
| AssetFlags |
EObjectFlags |
|
USDAssetCache2.h |
|
| AssetName |
FString |
|
USDAssetCache2.h |
|
| BulkData |
FByteBulkData |
Where the cached asset is actually serialized into. |
USDAssetCache2.h |
|
| Consumers |
TSet< FSoftObjectPath > |
|
USDAssetCache2.h |
|
| CurrentStorageType |
ECacheStorageType |
Transient stuff. |
USDAssetCache2.h |
|
| Dependencies |
TSet< FSoftObjectPath > |
|
USDAssetCache2.h |
|
| Hash |
FString |
We also store the asset hash in here as it is handy and allows O(1) asset to hash mapping via the LRUCache. |
USDAssetCache2.h |
|
| Referencers |
TSet< FObjectKey > |
|
USDAssetCache2.h |
|
| SizeOnDiskInBytes |
uint64 |
Information fetched on-demand during RefreshStorage, but that persists to disk. |
USDAssetCache2.h |
|
| SizeOnMemoryInBytes |
uint64 |
|
USDAssetCache2.h |
|
Functions
Public