shiny  0.4
a shader and material management library for OGRE
Public Member Functions | List of all members
sh::OgreMaterial Class Reference
+ Inheritance diagram for sh::OgreMaterial:

Public Member Functions

 OgreMaterial (const std::string &name, const std::string &resourceGroup)
 
virtual boost::shared_ptr< PasscreatePass (const std::string &configuration, unsigned short lodIndex)
 
virtual bool createConfiguration (const std::string &name, unsigned short lodIndex)
 
virtual bool isUnreferenced ()
 
virtual void unreferenceTextures ()
 
virtual void ensureLoaded ()
 
virtual void removeAll ()
 remove all configurations
 
Ogre::MaterialPtr getOgreMaterial ()
 
virtual void setLodLevels (const std::string &lodLevels)
 
Ogre::TechniquegetOgreTechniqueForConfiguration (const std::string &configurationName, unsigned short lodIndex=0)
 
virtual void setShadowCasterMaterial (const std::string &name)
 
- Public Member Functions inherited from sh::PropertySet
void setProperty (const std::string &name, PropertyValuePtr &value, PropertySetGet *context)
 

Additional Inherited Members

- Protected Member Functions inherited from sh::PropertySet
virtual bool setPropertyOverride (const std::string &name, PropertyValuePtr &value, PropertySetGet *context)
 

Member Function Documentation

◆ createConfiguration()

virtual bool sh::OgreMaterial::createConfiguration ( const std::string &  name,
unsigned short  lodIndex 
)
virtual
Returns
false if already exists

Implements sh::Material.


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