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)
 
plReflectedClassGetShaderProperties () const
 
void SetShaderMode (plEnum< plMaterialShaderMode > mode)
 
plEnum< plMaterialShaderModeGetShaderMode () 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 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.
 

Static Public Member Functions

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

Public Attributes

plString m_sBaseMaterial
 
plString m_sSurface
 
plString m_sShader
 
plMap< plString, plVariantm_CachedProperties
 
plMaterialAssetDocumentm_pDocument = nullptr
 
plEnum< plMaterialShaderModem_ShaderMode
 

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