1 // Copyright (C) 2002-2012 Nikolaus Gebhardt
\r
2 // This file is part of the "Irrlicht Engine".
\r
3 // For conditions of distribution and use, see copyright notice in irrlicht.h
\r
5 #ifndef __E_MESH_WRITER_ENUMS_H_INCLUDED__
\r
6 #define __E_MESH_WRITER_ENUMS_H_INCLUDED__
\r
8 #include "irrTypes.h"
\r
15 //! An enumeration for all supported types of built-in mesh writers
\r
16 /** A scene mesh writers is represented by a four character code
\r
17 such as 'irrm' or 'coll' instead of simple numbers, to avoid
\r
18 name clashes with external mesh writers.*/
\r
19 enum EMESH_WRITER_TYPE
\r
21 //! Irrlicht native mesh writer, for static .irrmesh files.
\r
22 EMWT_IRR_MESH = MAKE_IRR_ID('i','r','r','m'),
\r
24 //! COLLADA mesh writer for .dae and .xml files
\r
25 EMWT_COLLADA = MAKE_IRR_ID('c','o','l','l'),
\r
27 //! STL mesh writer for .stl files
\r
28 EMWT_STL = MAKE_IRR_ID('s','t','l',0),
\r
30 //! OBJ mesh writer for .obj files
\r
31 EMWT_OBJ = MAKE_IRR_ID('o','b','j',0),
\r
33 //! PLY mesh writer for .ply files
\r
34 EMWT_PLY = MAKE_IRR_ID('p','l','y',0),
\r
36 //! B3D mesh writer, for static .b3d files
\r
37 EMWT_B3D = MAKE_IRR_ID('b', '3', 'd', 0)
\r
41 //! flags configuring mesh writing
\r
42 enum E_MESH_WRITER_FLAGS
\r
47 //! write lightmap textures out if possible
\r
48 //! Currently not used by any Irrlicht mesh-writer
\r
49 // (Note: User meshwriters can still use it)
\r
50 EMWF_WRITE_LIGHTMAPS = 0x1,
\r
52 //! write in a way that consumes less disk space
\r
53 // (Note: Mainly there for user meshwriters)
\r
54 EMWF_WRITE_COMPRESSED = 0x2,
\r
56 //! write in binary format rather than text
\r
57 EMWF_WRITE_BINARY = 0x4
\r
60 } // end namespace scene
\r
61 } // end namespace irr
\r
64 #endif // __E_MESH_WRITER_ENUMS_H_INCLUDED__
\r