Irrlicht 3D Engine
 
Loading...
Searching...
No Matches
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
11namespace irr
12{
13namespace io
14{
15 class IReadFile;
16} // end namespace io
17namespace scene
18{
19 class IAnimatedMesh;
20
22
26class IMeshLoader : public virtual IReferenceCounted
27{
28public:
29
31 virtual ~IMeshLoader() {}
32
34
38 virtual bool isALoadableFileExtension(const io::path& filename) const = 0;
39
41
46};
47
48
49} // end namespace scene
50} // end namespace irr
51
52#endif
53
Base class of most objects of the Irrlicht Engine.
Interface providing read acess to a file.
Definition IReadFile.h:18
Interface for an animated mesh.
Class which is able to load an animated mesh from a file.
Definition IMeshLoader.h:27
virtual bool isALoadableFileExtension(const io::path &filename) const =0
Returns true if the file might be loaded by this class.
virtual IAnimatedMesh * createMesh(io::IReadFile *file)=0
Creates/loads an animated mesh from the file.
virtual ~IMeshLoader()
Destructor.
Definition IMeshLoader.h:31
Everything in the Irrlicht Engine can be found in this namespace.
Definition aabbox3d.h:13