diff options
Diffstat (limited to 'libraries/irrlicht-1.8/include/IMeshWriter.h')
-rw-r--r-- | libraries/irrlicht-1.8/include/IMeshWriter.h | 116 |
1 files changed, 58 insertions, 58 deletions
diff --git a/libraries/irrlicht-1.8/include/IMeshWriter.h b/libraries/irrlicht-1.8/include/IMeshWriter.h index 555a798..aef3e28 100644 --- a/libraries/irrlicht-1.8/include/IMeshWriter.h +++ b/libraries/irrlicht-1.8/include/IMeshWriter.h | |||
@@ -1,58 +1,58 @@ | |||
1 | // Copyright (C) 2002-2012 Nikolaus Gebhardt | 1 | // Copyright (C) 2002-2012 Nikolaus Gebhardt |
2 | // This file is part of the "Irrlicht Engine". | 2 | // This file is part of the "Irrlicht Engine". |
3 | // For conditions of distribution and use, see copyright notice in irrlicht.h | 3 | // For conditions of distribution and use, see copyright notice in irrlicht.h |
4 | 4 | ||
5 | #ifndef __IRR_I_MESH_WRITER_H_INCLUDED__ | 5 | #ifndef __IRR_I_MESH_WRITER_H_INCLUDED__ |
6 | #define __IRR_I_MESH_WRITER_H_INCLUDED__ | 6 | #define __IRR_I_MESH_WRITER_H_INCLUDED__ |
7 | 7 | ||
8 | #include "IReferenceCounted.h" | 8 | #include "IReferenceCounted.h" |
9 | #include "EMeshWriterEnums.h" | 9 | #include "EMeshWriterEnums.h" |
10 | 10 | ||
11 | namespace irr | 11 | namespace irr |
12 | { | 12 | { |
13 | namespace io | 13 | namespace io |
14 | { | 14 | { |
15 | class IWriteFile; | 15 | class IWriteFile; |
16 | } // end namespace io | 16 | } // end namespace io |
17 | 17 | ||
18 | namespace scene | 18 | namespace scene |
19 | { | 19 | { |
20 | class IMesh; | 20 | class IMesh; |
21 | 21 | ||
22 | //! Interface for writing meshes | 22 | //! Interface for writing meshes |
23 | class IMeshWriter : public virtual IReferenceCounted | 23 | class IMeshWriter : public virtual IReferenceCounted |
24 | { | 24 | { |
25 | public: | 25 | public: |
26 | 26 | ||
27 | //! Destructor | 27 | //! Destructor |
28 | virtual ~IMeshWriter() {} | 28 | virtual ~IMeshWriter() {} |
29 | 29 | ||
30 | //! Get the type of the mesh writer | 30 | //! Get the type of the mesh writer |
31 | /** For own implementations, use MAKE_IRR_ID as shown in the | 31 | /** For own implementations, use MAKE_IRR_ID as shown in the |
32 | EMESH_WRITER_TYPE enumeration to return your own unique mesh | 32 | EMESH_WRITER_TYPE enumeration to return your own unique mesh |
33 | type id. | 33 | type id. |
34 | \return Type of the mesh writer. */ | 34 | \return Type of the mesh writer. */ |
35 | virtual EMESH_WRITER_TYPE getType() const = 0; | 35 | virtual EMESH_WRITER_TYPE getType() const = 0; |
36 | 36 | ||
37 | //! Write a static mesh. | 37 | //! Write a static mesh. |
38 | /** \param file File handle to write the mesh to. | 38 | /** \param file File handle to write the mesh to. |
39 | \param mesh Pointer to mesh to be written. | 39 | \param mesh Pointer to mesh to be written. |
40 | \param flags Optional flags to set properties of the writer. | 40 | \param flags Optional flags to set properties of the writer. |
41 | \return True if sucessful */ | 41 | \return True if sucessful */ |
42 | virtual bool writeMesh(io::IWriteFile* file, scene::IMesh* mesh, | 42 | virtual bool writeMesh(io::IWriteFile* file, scene::IMesh* mesh, |
43 | s32 flags=EMWF_NONE) = 0; | 43 | s32 flags=EMWF_NONE) = 0; |
44 | 44 | ||
45 | // Writes an animated mesh | 45 | // Writes an animated mesh |
46 | // for future use, no writer is able to write animated meshes currently | 46 | // for future use, no writer is able to write animated meshes currently |
47 | /* \return Returns true if sucessful */ | 47 | /* \return Returns true if sucessful */ |
48 | //virtual bool writeAnimatedMesh(io::IWriteFile* file, | 48 | //virtual bool writeAnimatedMesh(io::IWriteFile* file, |
49 | // scene::IAnimatedMesh* mesh, | 49 | // scene::IAnimatedMesh* mesh, |
50 | // s32 flags=EMWF_NONE) = 0; | 50 | // s32 flags=EMWF_NONE) = 0; |
51 | }; | 51 | }; |
52 | 52 | ||
53 | 53 | ||
54 | } // end namespace | 54 | } // end namespace |
55 | } // end namespace | 55 | } // end namespace |
56 | 56 | ||
57 | #endif | 57 | #endif |
58 | 58 | ||