Plasma Engine  2.0
Loading...
Searching...
No Matches
plMaterialAssetProperties Class Reference
Inheritance diagram for plMaterialAssetProperties:

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 (plReflectedClass *pProperties)
 
plReflectedClass * GetShaderProperties () const
 
void SetShaderMode (plEnum< plMaterialShaderMode > mode)
 
plEnum< plMaterialShaderMode > GetShaderMode () const
 
void SetDocument (plMaterialAssetDocument *pDocument)
 
void UpdateShader (bool bForce=false)
 
void DeleteProperties ()
 
void CreateProperties (const char *szShaderPath)
 
void SaveOldValues ()
 
void LoadOldValues ()
 
plString ResolveRelativeShaderPath () const
 
plString GetAutoGenShaderPathAbs () const
 
- Public Member Functions inherited from plReflectedClass
virtual const plRTTI * GetDynamicRTTI () 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.
 

Static Public Member Functions

static void PropertyMetaStateEventHandler (plPropertyMetaStateEvent &e)
 
- Static Public Member Functions inherited from plNoBase
static const plRTTI * GetStaticRTTI ()
 

Public Attributes

plString m_sBaseMaterial
 
plString m_sSurface
 
plString m_sShader
 
plMap< plString, plVariant > m_CachedProperties
 
plMaterialAssetDocument * m_pDocument = nullptr
 
plEnum< plMaterialShaderMode > m_ShaderMode
 

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