Irrlicht 3D Engine
IMeshLoader.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2012 Nikolaus Gebhardt
2 // This file is part of the "Irrlicht Engine".
3 // For conditions of distribution and use, see copyright notice in irrlicht.h
4 
5 #ifndef __I_MESH_LOADER_H_INCLUDED__
6 #define __I_MESH_LOADER_H_INCLUDED__
7 
8 #include "IReferenceCounted.h"
9 #include "path.h"
10 
11 namespace irr
12 {
13 namespace io
14 {
15  class IReadFile;
16 } // end namespace io
17 namespace scene
18 {
19  class IAnimatedMesh;
20 
22 
26 class IMeshLoader : public virtual IReferenceCounted
27 {
28 public:
29 
31  virtual ~IMeshLoader() {}
32 
34 
38  virtual bool isALoadableFileExtension(const io::path& filename) const = 0;
39 
41 
45  virtual IAnimatedMesh* createMesh(io::IReadFile* file) = 0;
46 };
47 
48 
49 } // end namespace scene
50 } // end namespace irr
51 
52 #endif
53 
virtual ~IMeshLoader()
Destructor.
Definition: IMeshLoader.h:31
Interface providing read acess to a file.
Definition: IReadFile.h:17
Everything in the Irrlicht Engine can be found in this namespace.
Definition: aabbox3d.h:12
Class which is able to load an animated mesh from a file.
Definition: IMeshLoader.h:26
Base class of most objects of the Irrlicht Engine.
Interface for an animated mesh.
Definition: IAnimatedMesh.h:62