|
| MaterialSerializer () |
| default constructor
|
|
virtual | ~MaterialSerializer () |
| default destructor
|
|
void | addListener (Listener *listener) |
| Register a listener to this Serializer.
|
|
void | beginSection (unsigned short level, const bool useMainBuffer=true) |
|
void | clearQueue () |
| Clears the internal buffer.
|
|
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="") |
| Exports a single in-memory Material to the named material script file.
|
|
void | exportQueued (const String &filename, const bool includeProgDef=false, const String &programFilename="") |
| Exports queued material(s) to a named material script file.
|
|
const String & | getQueuedAsString () const |
| Returns a string representing the parsed material(s)
|
|
void | operator delete (void *ptr) |
|
void | operator delete (void *ptr, const char *, int, const char *) |
|
void | operator delete (void *ptr, void *) |
|
void | operator delete[] (void *ptr) |
|
void | operator delete[] (void *ptr, const char *, int, const char *) |
|
void * | operator new (size_t sz) |
|
void * | operator new (size_t sz, const char *file, int line, const char *func) |
| operator new, with debug line info
|
|
void * | operator new (size_t sz, void *ptr) |
| placement operator new
|
|
void * | operator new[] (size_t sz) |
|
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
| array operator new, with debug line info
|
|
void | queueForExport (const MaterialPtr &pMat, bool clearQueued=false, bool exportDefaults=false, const String &materialName="") |
| Queue an in-memory Material to the internal buffer for export.
|
|
String | quoteWord (const String &val) |
|
void | removeListener (Listener *listener) |
| Remove a listener from this Serializer.
|
|
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) |
|
Class for serializing Materials to / from a .material script.