ezEngine  Release 25.03
ezAssetDocumentInfo Class Referencefinal
Inheritance diagram for ezAssetDocumentInfo:

Public Member Functions

 ezAssetDocumentInfo (ezAssetDocumentInfo &&rhs)
 
void operator= (ezAssetDocumentInfo &&rhs)
 
void CreateShallowClone (ezAssetDocumentInfo &out_docInfo) const
 Creates a clone without meta data.
 
void ClearMetaData ()
 
const char * GetAssetsDocumentTypeName () const
 
void SetAssetsDocumentTypeName (const char *szSz)
 
const ezStringGetAssetsDocumentTags () const
 
void SetAssetsDocumentTags (const ezString &sTags)
 
const ezReflectedClassGetMetaInfo (const ezRTTI *pType) const
 Returns an object from m_MetaInfo of the given base type, or nullptr if none exists.
 
template<typename T >
const T * GetMetaInfo () const
 Returns an object from m_MetaInfo of the given base type, or nullptr if none exists.
 
- Public Member Functions inherited from ezReflectedClass
virtual const ezRTTIGetDynamicRTTI () const
 
bool IsInstanceOf (const ezRTTI *pType) const
 Returns whether the type of this instance is of the given type or derived from it.
 
template<typename T >
EZ_ALWAYS_INLINE bool IsInstanceOf () const
 Returns whether the type of this instance is of the given type or derived from it.
 

Public Attributes

ezUInt64 m_uiSettingsHash
 Current hash over all settings in the document, used to check resulting resource for being up-to-date in combination with dependency hashes.
 
ezSet< ezStringm_TransformDependencies
 [Data dir relative path or GUID] Files that are required to generate the asset, ie. if one changes, the asset needs to be recreated
 
ezSet< ezStringm_ThumbnailDependencies
 [Data dir relative path or GUID] Files that are used to generate the thumbnail.
 
ezSet< ezStringm_PackageDependencies
 [Data dir relative path or GUID] Files that are needed at runtime and should be packaged with the game.
 
ezSet< ezStringm_Outputs
 
ezHashedString m_sAssetsDocumentTypeName
 
ezString m_sAssetsDocumentTags
 
ezDynamicArray< ezReflectedClass * > m_MetaInfo
 
- Public Attributes inherited from ezDocumentInfo
ezUuid m_DocumentID
 

Additional Inherited Members

- Static Public Member Functions inherited from ezNoBase
static const ezRTTIGetStaticRTTI ()
 

Member Data Documentation

◆ m_MetaInfo

ezDynamicArray<ezReflectedClass*> ezAssetDocumentInfo::m_MetaInfo

Holds arbitrary objects that store meta-data for the asset document. Mainly used for exposed parameters, but can be any reflected type. This array takes ownership of all objects and deallocates them on shutdown.

◆ m_Outputs

ezSet<ezString> ezAssetDocumentInfo::m_Outputs

Additional output this asset produces besides the default one. These are tags like VISUAL_SHADER that are resolved by the ezAssetDocumentManager into paths.


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