Irrlicht 3D Engine
EMaterialTypes.h
Go to the documentation of this file.
00001 // Copyright (C) 2002-2012 Nikolaus Gebhardt
00002 // This file is part of the "Irrlicht Engine".
00003 // For conditions of distribution and use, see copyright notice in irrlicht.h
00004 
00005 #ifndef __E_MATERIAL_TYPES_H_INCLUDED__
00006 #define __E_MATERIAL_TYPES_H_INCLUDED__
00007 
00008 namespace irr
00009 {
00010 namespace video
00011 {
00012 
00014     enum E_MATERIAL_TYPE
00015     {
00017 
00019         EMT_SOLID = 0,
00020 
00022 
00025         EMT_SOLID_2_LAYER,
00026 
00028 
00031         EMT_LIGHTMAP,
00032 
00034 
00035         EMT_LIGHTMAP_ADD,
00036 
00038 
00042         EMT_LIGHTMAP_M2,
00043 
00045 
00049         EMT_LIGHTMAP_M4,
00050 
00052         EMT_LIGHTMAP_LIGHTING,
00053 
00055         EMT_LIGHTMAP_LIGHTING_M2,
00056 
00058         EMT_LIGHTMAP_LIGHTING_M4,
00059 
00061 
00068         EMT_DETAIL_MAP,
00069 
00071 
00073         EMT_SPHERE_MAP,
00074 
00076 
00077         EMT_REFLECTION_2_LAYER,
00078 
00080 
00088         EMT_TRANSPARENT_ADD_COLOR,
00089 
00091 
00101         EMT_TRANSPARENT_ALPHA_CHANNEL,
00102 
00104 
00113         EMT_TRANSPARENT_ALPHA_CHANNEL_REF,
00114 
00116         EMT_TRANSPARENT_VERTEX_ALPHA,
00117 
00119 
00124         EMT_TRANSPARENT_REFLECTION_2_LAYER,
00125 
00127 
00137         EMT_NORMAL_MAP_SOLID,
00138 
00140 
00150         EMT_NORMAL_MAP_TRANSPARENT_ADD_COLOR,
00151 
00153 
00163         EMT_NORMAL_MAP_TRANSPARENT_VERTEX_ALPHA,
00164 
00166 
00181         EMT_PARALLAX_MAP_SOLID,
00182 
00184 
00185         EMT_PARALLAX_MAP_TRANSPARENT_ADD_COLOR,
00186 
00188 
00189         EMT_PARALLAX_MAP_TRANSPARENT_VERTEX_ALPHA,
00190 
00192 
00193         EMT_ONETEXTURE_BLEND,
00194 
00196         EMT_FORCE_32BIT = 0x7fffffff
00197     };
00198 
00200     const char* const sBuiltInMaterialTypeNames[] =
00201     {
00202         "solid",
00203         "solid_2layer",
00204         "lightmap",
00205         "lightmap_add",
00206         "lightmap_m2",
00207         "lightmap_m4",
00208         "lightmap_light",
00209         "lightmap_light_m2",
00210         "lightmap_light_m4",
00211         "detail_map",
00212         "sphere_map",
00213         "reflection_2layer",
00214         "trans_add",
00215         "trans_alphach",
00216         "trans_alphach_ref",
00217         "trans_vertex_alpha",
00218         "trans_reflection_2layer",
00219         "normalmap_solid",
00220         "normalmap_trans_add",
00221         "normalmap_trans_vertexalpha",
00222         "parallaxmap_solid",
00223         "parallaxmap_trans_add",
00224         "parallaxmap_trans_vertexalpha",
00225         "onetexture_blend",
00226         0
00227     };
00228 
00229 } // end namespace video
00230 } // end namespace irr
00231 
00232 
00233 #endif // __E_MATERIAL_TYPES_H_INCLUDED__
00234