Plasma Engine  2.0
Loading...
Searching...
No Matches
plAssetDocumentInfo Class Referencefinal
Inheritance diagram for plAssetDocumentInfo:

Public Member Functions

 plAssetDocumentInfo (plAssetDocumentInfo &&rhs)
 
void operator= (plAssetDocumentInfo &&rhs)
 
void CreateShallowClone (plAssetDocumentInfo &out_docInfo) const
 Creates a clone without meta data.
 
void ClearMetaData ()
 
const char * GetAssetsDocumentTypeName () const
 
void SetAssetsDocumentTypeName (const char *szSz)
 
const plReflectedClassGetMetaInfo (const plRTTI *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 plReflectedClass
virtual const plRTTIGetDynamicRTTI () const
 
bool IsInstanceOf (const plRTTI *pType) const
 Returns whether the type of this instance is of the given type or derived from it.
 
template<typename T >
PL_ALWAYS_INLINE bool IsInstanceOf () const
 Returns whether the type of this instance is of the given type or derived from it.
 

Public Attributes

plUInt64 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.
 
plSet< plStringm_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
 
plSet< plStringm_ThumbnailDependencies
 [Data dir relative path or GUID] Files that are used to generate the thumbnail.
 
plSet< plStringm_PackageDependencies
 [Data dir relative path or GUID] Files that are needed at runtime and should be packaged with the game.
 
plSet< plStringm_Outputs
 
plHashedString m_sAssetsDocumentTypeName
 
plDynamicArray< plReflectedClass * > m_MetaInfo
 
- Public Attributes inherited from plDocumentInfo
plUuid m_DocumentID
 

Additional Inherited Members

- Static Public Member Functions inherited from plNoBase
static const plRTTIGetStaticRTTI ()
 

Member Data Documentation

◆ m_MetaInfo

plDynamicArray<plReflectedClass*> plAssetDocumentInfo::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

plSet<plString> plAssetDocumentInfo::m_Outputs

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


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