Clients of the parsing APIs must implement this interface themselves. More...
#include <glut-model.h>
Public Member Functions | |
virtual | ~MaterialRegistry (void) throw () |
virtual smart_ptr< material_t > | getMaterial (IN const char *id)=0 |
Clients of the parsing APIs must implement this interface themselves.
Typically, this is an object that can load materials as needed, and keep them in a map. Needs to be threadsafe!
Definition at line 91 of file glut-model.h.
glut::MaterialRegistry::~MaterialRegistry | ( | void | ) | throw () [virtual] |
Definition at line 52 of file model-parsing.cpp.