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)
 
xiiReflectedClassGetShaderProperties () const
 
void SetShaderMode (xiiEnum< xiiMaterialShaderMode > mode)
 
xiiEnum< xiiMaterialShaderModeGetShaderMode () 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 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.
 

Static Public Member Functions

static void PropertyMetaStateEventHandler (xiiPropertyMetaStateEvent &e)
 
- Static Public Member Functions inherited from xiiNoBase
static const xiiRTTIGetStaticRTTI ()
 

Public Attributes

xiiString m_sBaseMaterial
 
xiiString m_sSurface
 
xiiString m_sShader
 
xiiString m_sAssetFilterTags
 
xiiMap< xiiString, xiiVariantm_CachedProperties
 
xiiMaterialAssetDocumentm_pDocument = nullptr
 
xiiEnum< xiiMaterialShaderModem_ShaderMode
 

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