XII Release 0.1.0
Loading...
Searching...
No Matches
xiiAssetDocumentInfo Class Referencefinal
Inheritance diagram for xiiAssetDocumentInfo:
[legend]

Public Member Functions

 xiiAssetDocumentInfo (xiiAssetDocumentInfo &&rhs)
 
void operator= (xiiAssetDocumentInfo &&rhs)
 
void CreateShallowClone (xiiAssetDocumentInfo &out_docInfo) const
 Creates a clone without meta data.
 
void ClearMetaData ()
 
const char * GetAssetsDocumentTypeName () const
 
void SetAssetsDocumentTypeName (const char *szSz)
 
const xiiStringGetAssetsDocumentTags () const
 
void SetAssetsDocumentTags (const xiiString &sTags)
 
const xiiReflectedClassGetMetaInfo (const xiiRTTI *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 xiiReflectedClass
virtual const xiiRTTIGetDynamicRTTI () const
 
bool IsInstanceOf (const xiiRTTI *pType) const
 Returns whether the type of this instance is of the given type or derived from it.
 
template<typename T>
XII_ALWAYS_INLINE bool IsInstanceOf () const
 Returns whether the type of this instance is of the given type or derived from it.
 

Public Attributes

xiiUInt64 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.
 
xiiSet< xiiStringm_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
 
xiiSet< xiiStringm_ThumbnailDependencies
 [Data dir relative path or GUID] Files that are used to generate the thumbnail.
 
xiiSet< xiiStringm_PackageDependencies
 [Data dir relative path or GUID] Files that are needed at runtime and should be packaged with the game.
 
xiiSet< xiiStringm_Outputs
 
xiiHashedString m_sAssetsDocumentTypeName
 
xiiString m_sAssetsDocumentTags
 
xiiDynamicArray< xiiReflectedClass * > m_MetaInfo
 
- Public Attributes inherited from xiiDocumentInfo
xiiUuid m_DocumentID
 

Additional Inherited Members

- Static Public Member Functions inherited from xiiNoBase
static const xiiRTTIGetStaticRTTI ()
 

Member Data Documentation

◆ m_MetaInfo

xiiDynamicArray<xiiReflectedClass*> xiiAssetDocumentInfo::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

xiiSet<xiiString> xiiAssetDocumentInfo::m_Outputs

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


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