shiny
0.4
a shader and material management library for OGRE
|
Allows you to be notified when a certain configuration for a material was just about to be created.
Useful for adjusting some properties prior to the material being created (Or you could also re-create the whole material from scratch, i.e. use this as a method to create this material entirely in code)
More...
#include <MaterialInstance.hpp>
Public Member Functions | |
virtual void | requestedConfiguration (MaterialInstance *m, const std::string &configuration)=0 |
called before creating | |
virtual void | createdConfiguration (MaterialInstance *m, const std::string &configuration)=0 |
called after creating | |
Allows you to be notified when a certain configuration for a material was just about to be created.
Useful for adjusting some properties prior to the material being created (Or you could also re-create the whole material from scratch, i.e. use this as a method to create this material entirely in code)