class
MaterialBase
Material that controls how objects are rendered.
It is represented by a shader and parameters used to set up that shader. It provides a simple interface for manipulating the parameters.
Public
Constructors
MaterialBase
MaterialBase() = default
Methods
~MaterialBase
virtual ~MaterialBase() noexcept = default
Internal
Methods
MarkRenderProxyDataDirtyInternal
virtual void MarkRenderProxyDataDirtyInternal(MaterialDirtyFlags flags = MaterialDirtyFlags::Parameter)
Marks the contents of the main thread object as dirty, causing it to sync with the render proxy.
MarkDependenciesDirtyInternal
virtual void MarkDependenciesDirtyInternal()
Notifies the core object manager that this object is dependant on some other CoreObject(s), and the dependencies changed since the last call to this method.
This will trigger a call to GetCoreDependencies() to collect the new dependencies.
MarkResourcesDirtyInternal
virtual void MarkResourcesDirtyInternal()
Marks the resource dependencies list as dirty and schedules it for rebuild.