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

Public Member Functions

void SetBaseMaterial (const char *szBaseMaterial)
const char * GetBaseMaterial () const
void SetSurface (const char *szSurface)
const char * GetSurface () const
void SetShader (const char *szShader)
const char * GetShader () const
void SetShaderProperties (xiiReflectedClass *pProperties)
xiiReflectedClass * GetShaderProperties () const
void SetShaderMode (xiiEnum< xiiMaterialShaderMode > mode)
xiiEnum< xiiMaterialShaderMode > GetShaderMode () const
void SetDocument (xiiMaterialAssetDocument *pDocument)
void UpdateShader (bool bForce=false)
void DeleteProperties ()
void CreateProperties (const char *szShaderPath)
void SaveOldValues ()
void LoadOldValues ()
xiiString ResolveRelativeShaderPath () const
xiiString GetAutoGenShaderPathAbs () const
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.

Static Public Member Functions

static void PropertyMetaStateEventHandler (xiiPropertyMetaStateEvent &e)
Static Public Member Functions inherited from xiiNoBase
static const xiiRTTI * GetStaticRTTI ()

Public Attributes

xiiString m_sBaseMaterial
xiiString m_sSurface
xiiString m_sShader
xiiString m_sAssetFilterTags
xiiMap< xiiString, xiiVariant > m_CachedProperties
xiiMaterialAssetDocument * m_pDocument = nullptr
xiiEnum< xiiMaterialShaderMode > m_ShaderMode
xiiMaterialResourceDescriptor m_NativeMaterial

The documentation for this class was generated from the following files:
  • /home/runner/work/XII/XII/Source/EditorPlugins/Assets/EditorPluginAssets/MaterialAsset/MaterialAsset.h
  • /home/runner/work/XII/XII/Source/EditorPlugins/Assets/EditorPluginAssets/MaterialAsset/MaterialAsset.cpp