~baltix/+junk/irrlicht-test

« back to all changes in this revision

Viewing changes to include/EMeshWriterEnums.h

  • Committer: Mantas Kriaučiūnas
  • Date: 2011-07-18 13:06:25 UTC
  • Revision ID: mantas@akl.lt-20110718130625-c5pvifp61e7kj1ol
Included whole irrlicht SVN libraries to work around launchpad recipe issue with quilt, see https://answers.launchpad.net/launchpad/+question/165193

Show diffs side-by-side

added added

removed removed

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