![]() |
Public API Reference |
Some loader plugins implement this as an easier way to load a factory from code. More...
#include <imap/modelload.h>
Public Member Functions | |
| virtual bool | IsRecognized (const char *filename)=0 |
| Test if the model is recognized by this model loader. | |
| virtual bool | IsRecognized (iDataBuffer *buffer)=0 |
| Test if the model is recognized by this model loader. | |
| virtual iMeshFactoryWrapper * | Load (const char *factname, const char *filename)=0 |
| Create a mesh factory and load the given model into it. | |
| virtual iMeshFactoryWrapper * | Load (const char *factname, iDataBuffer *buffer)=0 |
| Create a mesh factory and load the given model into it. | |
Some loader plugins implement this as an easier way to load a factory from code.
Main creators of instances implementing this interface:
Main ways to get pointers to this interface:
Definition at line 44 of file modelload.h.
| virtual bool iModelLoader::IsRecognized | ( | const char * | filename | ) | [pure virtual] |
Test if the model is recognized by this model loader.
| virtual bool iModelLoader::IsRecognized | ( | iDataBuffer * | buffer | ) | [pure virtual] |
Test if the model is recognized by this model loader.
| virtual iMeshFactoryWrapper* iModelLoader::Load | ( | const char * | factname, |
| const char * | filename | ||
| ) | [pure virtual] |
Create a mesh factory and load the given model into it.
| factname | The name of the factory. |
| filename | The VFS name of the file. |
| virtual iMeshFactoryWrapper* iModelLoader::Load | ( | const char * | factname, |
| iDataBuffer * | buffer | ||
| ) | [pure virtual] |
Create a mesh factory and load the given model into it.
| factname | The name of the factory. |
| buffer | The buffer containing the file. |