diff options
| author | Mirrorbot <mirrorbot@cogarr.net> | 2025-12-27 17:53:06 -0600 |
|---|---|---|
| committer | Mirrorbot <mirrorbot@cogarr.net> | 2025-12-27 17:53:06 -0600 |
| commit | 71e94ee161447b84c0eaabf6567f8fa62262cd3e (patch) | |
| tree | 391064cc6173a6fe75069af2fdc1978af12f623e /include/EMeshWriterEnums.h | |
| download | irrlicht-71e94ee161447b84c0eaabf6567f8fa62262cd3e.tar.gz irrlicht-71e94ee161447b84c0eaabf6567f8fa62262cd3e.tar.bz2 irrlicht-71e94ee161447b84c0eaabf6567f8fa62262cd3e.zip | |
Diffstat (limited to 'include/EMeshWriterEnums.h')
| -rw-r--r-- | include/EMeshWriterEnums.h | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/include/EMeshWriterEnums.h b/include/EMeshWriterEnums.h new file mode 100644 index 0000000..fb2cfa4 --- /dev/null +++ b/include/EMeshWriterEnums.h @@ -0,0 +1,59 @@ +// Copyright (C) 2002-2012 Nikolaus Gebhardt
+// This file is part of the "Irrlicht Engine".
+// For conditions of distribution and use, see copyright notice in irrlicht.h
+
+#ifndef __E_MESH_WRITER_ENUMS_H_INCLUDED__
+#define __E_MESH_WRITER_ENUMS_H_INCLUDED__
+
+#include "irrTypes.h"
+
+namespace irr
+{
+namespace scene
+{
+
+ //! An enumeration for all supported types of built-in mesh writers
+ /** A scene mesh writers is represented by a four character code
+ such as 'irrm' or 'coll' instead of simple numbers, to avoid
+ name clashes with external mesh writers.*/
+ enum EMESH_WRITER_TYPE
+ {
+ //! Irrlicht native mesh writer, for static .irrmesh files.
+ EMWT_IRR_MESH = MAKE_IRR_ID('i','r','r','m'),
+
+ //! COLLADA mesh writer for .dae and .xml files
+ EMWT_COLLADA = MAKE_IRR_ID('c','o','l','l'),
+
+ //! STL mesh writer for .stl files
+ EMWT_STL = MAKE_IRR_ID('s','t','l',0),
+
+ //! OBJ mesh writer for .obj files
+ EMWT_OBJ = MAKE_IRR_ID('o','b','j',0),
+
+ //! PLY mesh writer for .ply files
+ EMWT_PLY = MAKE_IRR_ID('p','l','y',0)
+ };
+
+
+ //! flags configuring mesh writing
+ enum E_MESH_WRITER_FLAGS
+ {
+ //! no writer flags
+ EMWF_NONE = 0,
+
+ //! write lightmap textures out if possible
+ EMWF_WRITE_LIGHTMAPS = 0x1,
+
+ //! write in a way that consumes less disk space
+ EMWF_WRITE_COMPRESSED = 0x2,
+
+ //! write in binary format rather than text
+ EMWF_WRITE_BINARY = 0x4
+ };
+
+} // end namespace scene
+} // end namespace irr
+
+
+#endif // __E_MESH_WRITER_ENUMS_H_INCLUDED__
+
|
