mirror of
https://github.com/minetest/irrlicht.git
synced 2024-11-18 05:33:52 +01:00
9954667c45
The exact commands to make this commit were: git reset --hard origin/master find -type f | # list all regular files grep -E '\.(h|cpp|fsh|vsh|mm)|LICENSE$' | # filter for text files xargs -n 1 -P $(nproc) sed -i 's:\s*$::' # for each file, trim trailing whitespace including the CR git commit -a
66 lines
1.7 KiB
C++
66 lines
1.7 KiB
C++
// 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),
|
|
|
|
//! B3D mesh writer, for static .b3d files
|
|
EMWT_B3D = MAKE_IRR_ID('b', '3', 'd', 0)
|
|
};
|
|
|
|
|
|
//! flags configuring mesh writing
|
|
enum E_MESH_WRITER_FLAGS
|
|
{
|
|
//! no writer flags
|
|
EMWF_NONE = 0,
|
|
|
|
//! write lightmap textures out if possible
|
|
//! Currently not used by any Irrlicht mesh-writer
|
|
// (Note: User meshwriters can still use it)
|
|
EMWF_WRITE_LIGHTMAPS = 0x1,
|
|
|
|
//! write in a way that consumes less disk space
|
|
// (Note: Mainly there for user meshwriters)
|
|
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__
|
|
|