shiny  0.4
a shader and material management library for OGRE
Public Member Functions | List of all members
sh::MaterialInstanceListener Class Referenceabstract

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
 

Detailed Description

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)


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