Move SMaterial std::hash impl to its header
[minetest.git] / irr / include / EMaterialProps.h
blob7650843407499307416b03cdba9f592319c9211a
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
5 #pragma once
7 namespace irr
9 namespace video
12 //! Material properties
13 enum E_MATERIAL_PROP
15 //! Corresponds to SMaterial::Wireframe.
16 EMP_WIREFRAME = 0x1,
18 //! Corresponds to SMaterial::PointCloud.
19 EMP_POINTCLOUD = 0x2,
21 //! Corresponds to SMaterial::ZBuffer.
22 EMP_ZBUFFER = 0x10,
24 //! Corresponds to SMaterial::ZWriteEnable.
25 EMP_ZWRITE_ENABLE = 0x20,
27 //! Corresponds to SMaterial::BackfaceCulling.
28 EMP_BACK_FACE_CULLING = 0x40,
30 //! Corresponds to SMaterial::FrontfaceCulling.
31 EMP_FRONT_FACE_CULLING = 0x80,
33 //! Corresponds to SMaterialLayer::MinFilter.
34 EMP_MIN_FILTER = 0x100,
36 //! Corresponds to SMaterialLayer::MagFilter.
37 EMP_MAG_FILTER = 0x200,
39 //! Corresponds to SMaterialLayer::AnisotropicFilter.
40 EMP_ANISOTROPIC_FILTER = 0x400,
42 //! Corresponds to SMaterial::FogEnable.
43 EMP_FOG_ENABLE = 0x800,
45 //! Corresponds to SMaterialLayer::TextureWrapU, TextureWrapV and
46 //! TextureWrapW.
47 EMP_TEXTURE_WRAP = 0x2000,
49 //! Corresponds to SMaterial::AntiAliasing.
50 EMP_ANTI_ALIASING = 0x4000,
52 //! Corresponds to SMaterial::ColorMask.
53 EMP_COLOR_MASK = 0x8000,
55 //! Corresponds to SMaterial::UseMipMaps.
56 EMP_USE_MIP_MAPS = 0x20000,
58 //! Corresponds to SMaterial::BlendOperation.
59 EMP_BLEND_OPERATION = 0x40000,
61 //! Corresponds to SMaterial::PolygonOffsetFactor, PolygonOffsetDirection,
62 //! PolygonOffsetDepthBias and PolygonOffsetSlopeScale.
63 EMP_POLYGON_OFFSET = 0x80000,
65 //! Corresponds to SMaterial::BlendFactor.
66 EMP_BLEND_FACTOR = 0x100000,
69 } // end namespace video
70 } // end namespace irr