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

This class allows me to let Ogre handle the pass & texture unit properties. More...

#include <OgreMaterialSerializer.hpp>

+ Inheritance diagram for sh::OgreMaterialSerializer:

Public Member Functions

bool setPassProperty (const std::string &param, std::string value, Ogre::Pass *pass)
 
bool setTextureUnitProperty (const std::string &param, std::string value, Ogre::TextureUnitState *t)
 
bool setMaterialProperty (const std::string &param, std::string value, Ogre::MaterialPtr m)
 
- Public Member Functions inherited from Ogre::MaterialSerializer
void addListener (Listener *listener)
 
void beginSection (unsigned short level, const bool useMainBuffer=true)
 
void clearQueue ()
 
void endSection (unsigned short level, const bool useMainBuffer=true)
 
void exportMaterial (const MaterialPtr &pMat, const String &filename, bool exportDefaults=false, const bool includeProgDef=false, const String &programFilename="", const String &materialName="")
 
void exportQueued (const String &filename, const bool includeProgDef=false, const String &programFilename="")
 
const StringgetQueuedAsString () const
 
void queueForExport (const MaterialPtr &pMat, bool clearQueued=false, bool exportDefaults=false, const String &materialName="")
 
String quoteWord (const String &val)
 
void removeListener (Listener *listener)
 
void writeAttribute (unsigned short level, const String &att, const bool useMainBuffer=true)
 
void writeComment (unsigned short level, const String &comment, const bool useMainBuffer=true)
 
void writeValue (const String &val, const bool useMainBuffer=true)
 

Additional Inherited Members

- Public Types inherited from Ogre::MaterialSerializer
enum  SerializeEvent
 
- Public Attributes inherited from Ogre::MaterialSerializer
 MSE_POST_WRITE
 
 MSE_PRE_WRITE
 
 MSE_WRITE_BEGIN
 
 MSE_WRITE_END
 

Detailed Description

This class allows me to let Ogre handle the pass & texture unit properties.


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