EMeshWriterEnums.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. #ifndef __E_MESH_WRITER_ENUMS_H_INCLUDED__
  5. #define __E_MESH_WRITER_ENUMS_H_INCLUDED__
  6. #include "irrTypes.h"
  7. namespace irr
  8. {
  9. namespace scene
  10. {
  11. //! An enumeration for all supported types of built-in mesh writers
  12. /** A scene mesh writers is represented by a four character code
  13. such as 'irrm' or 'coll' instead of simple numbers, to avoid
  14. name clashes with external mesh writers.*/
  15. enum EMESH_WRITER_TYPE
  16. {
  17. //! Irrlicht native mesh writer, for static .irrmesh files.
  18. EMWT_IRR_MESH = MAKE_IRR_ID('i','r','r','m'),
  19. //! COLLADA mesh writer for .dae and .xml files
  20. EMWT_COLLADA = MAKE_IRR_ID('c','o','l','l'),
  21. //! STL mesh writer for .stl files
  22. EMWT_STL = MAKE_IRR_ID('s','t','l',0),
  23. //! OBJ mesh writer for .obj files
  24. EMWT_OBJ = MAKE_IRR_ID('o','b','j',0),
  25. //! PLY mesh writer for .ply files
  26. EMWT_PLY = MAKE_IRR_ID('p','l','y',0)
  27. };
  28. //! flags configuring mesh writing
  29. enum E_MESH_WRITER_FLAGS
  30. {
  31. //! no writer flags
  32. EMWF_NONE = 0,
  33. //! write lightmap textures out if possible
  34. EMWF_WRITE_LIGHTMAPS = 0x1,
  35. //! write in a way that consumes less disk space
  36. EMWF_WRITE_COMPRESSED = 0x2,
  37. //! write in binary format rather than text
  38. EMWF_WRITE_BINARY = 0x4
  39. };
  40. } // end namespace scene
  41. } // end namespace irr
  42. #endif // __E_MESH_WRITER_ENUMS_H_INCLUDED__