ezEngine  Release 25.03
ezMaterialAssetProperties Class Reference
Inheritance diagram for ezMaterialAssetProperties:

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 (ezReflectedClass *pProperties)
 
ezReflectedClassGetShaderProperties () const
 
void SetShaderMode (ezEnum< ezMaterialShaderMode > mode)
 
ezEnum< ezMaterialShaderModeGetShaderMode () const
 
void SetDocument (ezMaterialAssetDocument *pDocument)
 
void UpdateShader (bool bForce=false)
 
void DeleteProperties ()
 
void CreateProperties (const char *szShaderPath)
 
void SaveOldValues ()
 
void LoadOldValues ()
 
ezString ResolveRelativeShaderPath () const
 
ezString GetAutoGenShaderPathAbs () const
 
- Public Member Functions inherited from ezReflectedClass
virtual const ezRTTIGetDynamicRTTI () const
 
bool IsInstanceOf (const ezRTTI *pType) const
 Returns whether the type of this instance is of the given type or derived from it.
 
template<typename T >
EZ_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 (ezPropertyMetaStateEvent &e)
 
- Static Public Member Functions inherited from ezNoBase
static const ezRTTIGetStaticRTTI ()
 

Public Attributes

ezString m_sBaseMaterial
 
ezString m_sSurface
 
ezString m_sShader
 
ezString m_sAssetFilterTags
 
ezMap< ezString, ezVariantm_CachedProperties
 
ezMaterialAssetDocumentm_pDocument = nullptr
 
ezEnum< ezMaterialShaderModem_ShaderMode
 

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