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
path.h
irr::scene::IMeshLoader::~IMeshLoader
virtual ~IMeshLoader()
Destructor.
Definition:
IMeshLoader.h:31
IReferenceCounted.h
irr::io::IReadFile
Interface providing read acess to a file.
Definition:
IReadFile.h:17
irr::scene::IAnimatedMesh
Interface for an animated mesh.
Definition:
IAnimatedMesh.h:62
irr::IReferenceCounted
Base class of most objects of the Irrlicht Engine.
Definition:
IReferenceCounted.h:41
irr::scene::IMeshLoader::createMesh
virtual IAnimatedMesh * createMesh(io::IReadFile *file)=0
Creates/loads an animated mesh from the file.
irr::core::string< fschar_t >
irr
Everything in the Irrlicht Engine can be found in this namespace.
Definition:
aabbox3d.h:12
irr::scene::IMeshLoader::isALoadableFileExtension
virtual bool isALoadableFileExtension(const io::path &filename) const =0
Returns true if the file might be loaded by this class.
irr::scene::IMeshLoader
Class which is able to load an animated mesh from a file.
Definition:
IMeshLoader.h:26
Irrlicht Engine
Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on Sun Jan 6 2019 16:29:15 for Irrlicht 3D Engine by
Doxygen
1.8.17