XII Release 0.1.0
Loading...
Searching...
No Matches
xiiAssetDocumentInfo Class Referencefinal

Copyright (c) Theophilus Eriata. All Rights Reserved. More...

#include <AssetDocumentInfo.h>

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 xiiString & GetAssetsDocumentTags () const
void SetAssetsDocumentTags (const xiiString &sTags)
const xiiReflectedClass * GetMetaInfo (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 xiiRTTI * GetDynamicRTTI () 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< xiiString > m_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< xiiString > m_ThumbnailDependencies
 [Data dir relative path or GUID] Files that are used to generate the thumbnail.
xiiSet< xiiString > m_PackageDependencies
 [Data dir relative path or GUID] Files that are needed at runtime and should be packaged with the game.
xiiSet< xiiString > m_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 xiiRTTI * GetStaticRTTI ()

Detailed Description

Copyright (c) Theophilus Eriata. All Rights Reserved.

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:
  • /home/runner/work/XII/XII/Source/Editor/EditorFramework/Assets/AssetDocumentInfo.h
  • /home/runner/work/XII/XII/Source/Editor/EditorFramework/Assets/Implementation/AssetDocumentInfo.cpp