ezEngine  Release 25.03
ezAssetInfo Struct Reference

Public Types

enum  TransformState : ezUInt8 {
  Unknown = 0, UpToDate, NeedsImport, NeedsTransform,
  NeedsThumbnail, TransformError, MissingTransformDependency, MissingThumbnailDependency,
  MissingPackageDependency, CircularDependency, COUNT
}
 

Public Member Functions

void Update (ezUniquePtr< ezAssetInfo > &rhs)
 
ezAssetDocumentManagerGetManager ()
 

Public Attributes

ezUInt8 m_LastStateUpdate = 0
 Changes every time m_TransformState is modified. Used to detect stale computations done outside the lock.
 
ezAssetExistanceState::Enum m_ExistanceState = ezAssetExistanceState::FileAdded
 
TransformState m_TransformState = TransformState::Unknown
 
ezUInt64 m_AssetHash = 0
 Valid if m_TransformState != Unknown and asset not in Curator's m_TransformStateStale list.
 
ezUInt64 m_ThumbHash = 0
 Valid if m_TransformState != Unknown and asset not in Curator's m_TransformStateStale list.
 
ezUInt64 m_PackageHash = 0
 Valid if m_TransformState != Unknown and asset not in Curator's m_TransformStateStale list.
 
ezDynamicArray< ezLogEntrym_LogEntries
 
const ezAssetDocumentTypeDescriptorm_pDocumentTypeDescriptor = nullptr
 
ezDataDirPath m_Path
 
ezUniquePtr< ezAssetDocumentInfom_Info
 
ezSet< ezStringm_MissingTransformDeps
 
ezSet< ezStringm_MissingThumbnailDeps
 
ezSet< ezStringm_MissingPackageDeps
 
ezSet< ezStringm_CircularDependencies
 
ezSet< ezUuidm_SubAssets
 Main asset uses the same GUID as this (see m_Info), but is NOT stored in m_SubAssets.
 

The documentation for this struct was generated from the following files: