Class which is able to load an animated mesh from a file. More...
#include <IMeshLoader.h>
Public Member Functions | |
virtual | ~IMeshLoader () |
Destructor. More... | |
virtual IAnimatedMesh * | createMesh (io::IReadFile *file)=0 |
Creates/loads an animated mesh from the file. More... | |
virtual bool | isALoadableFileExtension (const io::path &filename) const =0 |
Returns true if the file might be loaded by this class. More... | |
![]() | |
IReferenceCounted () | |
Constructor. More... | |
virtual | ~IReferenceCounted () |
Destructor. More... | |
bool | drop () const |
Drops the object. Decrements the reference counter by one. More... | |
const c8 * | getDebugName () const |
Returns the debug name of the object. More... | |
s32 | getReferenceCount () const |
Get the reference count. More... | |
void | grab () const |
Grabs the object. Increments the reference counter by one. More... | |
Additional Inherited Members | |
![]() | |
void | setDebugName (const c8 *newName) |
Sets the debug name of the object. More... | |
Class which is able to load an animated mesh from a file.
If you want Irrlicht be able to load meshes of currently unsupported file formats (e.g. .cob), then implement this and add your new Meshloader with ISceneManager::addExternalMeshLoader() to the engine.
Definition at line 26 of file IMeshLoader.h.
|
inlinevirtual |
Destructor.
Definition at line 31 of file IMeshLoader.h.
|
pure virtual |
Creates/loads an animated mesh from the file.
file | File handler to load the file from. |
|
pure virtual |
Returns true if the file might be loaded by this class.
This decision should be based on the file extension (e.g. ".cob") only.
filename | Name of the file to test. |