Loading...
Searching...
No Matches
EMaterialTypes.h
Go to the documentation of this file.
// 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_MATERIAL_TYPES_H_INCLUDED__
#define __E_MATERIAL_TYPES_H_INCLUDED__
namespace irr
{
namespace video
{
enum E_MATERIAL_TYPE
{
EMT_SOLID = 0,
EMT_SOLID_2_LAYER,
EMT_LIGHTMAP,
EMT_LIGHTMAP_ADD,
EMT_LIGHTMAP_M2,
EMT_LIGHTMAP_M4,
EMT_LIGHTMAP_LIGHTING,
EMT_LIGHTMAP_LIGHTING_M2,
EMT_LIGHTMAP_LIGHTING_M4,
EMT_DETAIL_MAP,
EMT_SPHERE_MAP,
EMT_REFLECTION_2_LAYER,
EMT_TRANSPARENT_ADD_COLOR,
EMT_TRANSPARENT_ALPHA_CHANNEL,
EMT_TRANSPARENT_ALPHA_CHANNEL_REF,
EMT_TRANSPARENT_VERTEX_ALPHA,
EMT_TRANSPARENT_REFLECTION_2_LAYER,
EMT_NORMAL_MAP_SOLID,
EMT_NORMAL_MAP_TRANSPARENT_ADD_COLOR,
EMT_NORMAL_MAP_TRANSPARENT_VERTEX_ALPHA,
EMT_PARALLAX_MAP_SOLID,
EMT_PARALLAX_MAP_TRANSPARENT_ADD_COLOR,
EMT_PARALLAX_MAP_TRANSPARENT_VERTEX_ALPHA,
EMT_ONETEXTURE_BLEND,
EMT_FORCE_32BIT = 0x7fffffff
};
const char* const sBuiltInMaterialTypeNames[] =
{
"solid",
"solid_2layer",
"lightmap",
"lightmap_add",
"lightmap_m2",
"lightmap_m4",
"lightmap_light",
"lightmap_light_m2",
"lightmap_light_m4",
"detail_map",
"sphere_map",
"reflection_2layer",
"trans_add",
"trans_alphach",
"trans_alphach_ref",
"trans_vertex_alpha",
"trans_reflection_2layer",
"normalmap_solid",
"normalmap_trans_add",
"normalmap_trans_vertexalpha",
"parallaxmap_solid",
"parallaxmap_trans_add",
"parallaxmap_trans_vertexalpha",
"onetexture_blend",
0
};
} // end namespace video
} // end namespace irr
#endif // __E_MATERIAL_TYPES_H_INCLUDED__
irr::video
The video namespace contains classes for accessing the video driver. All 2d and 3d rendering is done ...
Definition EDriverFeatures.h:11
irr::video::sBuiltInMaterialTypeNames
const char *const sBuiltInMaterialTypeNames[]
Array holding the built in material type names.
Definition EMaterialTypes.h:200
irr::video::E_MATERIAL_TYPE
E_MATERIAL_TYPE
Abstracted and easy to use fixed function/programmable pipeline material modes.
Definition EMaterialTypes.h:15
irr::video::EMT_DETAIL_MAP
@ EMT_DETAIL_MAP
Detail mapped material.
Definition EMaterialTypes.h:68
irr::video::EMT_ONETEXTURE_BLEND
@ EMT_ONETEXTURE_BLEND
BlendFunc = source * sourceFactor + dest * destFactor ( E_BLEND_FUNC ).
Definition EMaterialTypes.h:193
irr::video::EMT_NORMAL_MAP_TRANSPARENT_VERTEX_ALPHA
@ EMT_NORMAL_MAP_TRANSPARENT_VERTEX_ALPHA
A transparent (based on the vertex alpha value) normal map renderer.
Definition EMaterialTypes.h:163
irr::video::EMT_NORMAL_MAP_TRANSPARENT_ADD_COLOR
@ EMT_NORMAL_MAP_TRANSPARENT_ADD_COLOR
A transparent normal map renderer.
Definition EMaterialTypes.h:150
irr::video::EMT_TRANSPARENT_ALPHA_CHANNEL_REF
@ EMT_TRANSPARENT_ALPHA_CHANNEL_REF
Makes the material transparent based on the texture alpha channel.
Definition EMaterialTypes.h:113
irr::video::EMT_TRANSPARENT_ADD_COLOR
@ EMT_TRANSPARENT_ADD_COLOR
A transparent material.
Definition EMaterialTypes.h:88
irr::video::EMT_TRANSPARENT_VERTEX_ALPHA
@ EMT_TRANSPARENT_VERTEX_ALPHA
Makes the material transparent based on the vertex alpha value.
Definition EMaterialTypes.h:116
irr::video::EMT_SOLID_2_LAYER
@ EMT_SOLID_2_LAYER
Solid material with 2 texture layers.
Definition EMaterialTypes.h:25
irr::video::EMT_SPHERE_MAP
@ EMT_SPHERE_MAP
Look like a reflection of the environment around it.
Definition EMaterialTypes.h:73
irr::video::EMT_PARALLAX_MAP_TRANSPARENT_VERTEX_ALPHA
@ EMT_PARALLAX_MAP_TRANSPARENT_VERTEX_ALPHA
A material like EMT_PARALLAX_MAP_SOLID, but transparent.
Definition EMaterialTypes.h:189
irr::video::EMT_LIGHTMAP
@ EMT_LIGHTMAP
Material type with standard lightmap technique.
Definition EMaterialTypes.h:31
irr::video::EMT_LIGHTMAP_LIGHTING_M4
@ EMT_LIGHTMAP_LIGHTING_M4
Like EMT_LIGHTMAP_4, but also supports dynamic lighting.
Definition EMaterialTypes.h:58
irr::video::EMT_LIGHTMAP_ADD
@ EMT_LIGHTMAP_ADD
Material type with lightmap technique like EMT_LIGHTMAP.
Definition EMaterialTypes.h:35
irr::video::EMT_PARALLAX_MAP_SOLID
@ EMT_PARALLAX_MAP_SOLID
Just like EMT_NORMAL_MAP_SOLID, but uses parallax mapping.
Definition EMaterialTypes.h:181
irr::video::EMT_PARALLAX_MAP_TRANSPARENT_ADD_COLOR
@ EMT_PARALLAX_MAP_TRANSPARENT_ADD_COLOR
A material like EMT_PARALLAX_MAP_SOLID, but transparent.
Definition EMaterialTypes.h:185
irr::video::EMT_FORCE_32BIT
@ EMT_FORCE_32BIT
This value is not used. It only forces this enumeration to compile to 32 bit.
Definition EMaterialTypes.h:196
irr::video::EMT_NORMAL_MAP_SOLID
@ EMT_NORMAL_MAP_SOLID
A solid normal map renderer.
Definition EMaterialTypes.h:137
irr::video::EMT_TRANSPARENT_REFLECTION_2_LAYER
@ EMT_TRANSPARENT_REFLECTION_2_LAYER
A transparent reflecting material with an optional additional non reflecting texture layer.
Definition EMaterialTypes.h:124
irr::video::EMT_SOLID
@ EMT_SOLID
Standard solid material.
Definition EMaterialTypes.h:19
irr::video::EMT_LIGHTMAP_LIGHTING_M2
@ EMT_LIGHTMAP_LIGHTING_M2
Like EMT_LIGHTMAP_M2, but also supports dynamic lighting.
Definition EMaterialTypes.h:55
irr::video::EMT_LIGHTMAP_M2
@ EMT_LIGHTMAP_M2
Material type with standard lightmap technique.
Definition EMaterialTypes.h:42
irr::video::EMT_TRANSPARENT_ALPHA_CHANNEL
@ EMT_TRANSPARENT_ALPHA_CHANNEL
Makes the material transparent based on the texture alpha channel.
Definition EMaterialTypes.h:101
irr::video::EMT_LIGHTMAP_M4
@ EMT_LIGHTMAP_M4
Material type with standard lightmap technique.
Definition EMaterialTypes.h:49
irr::video::EMT_REFLECTION_2_LAYER
@ EMT_REFLECTION_2_LAYER
A reflecting material with an optional non reflecting texture layer.
Definition EMaterialTypes.h:77
irr::video::EMT_LIGHTMAP_LIGHTING
@ EMT_LIGHTMAP_LIGHTING
Like EMT_LIGHTMAP, but also supports dynamic lighting.
Definition EMaterialTypes.h:52
irr
Everything in the Irrlicht Engine can be found in this namespace.
Definition aabbox3d.h:13
- Irrlicht Engine Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on for Irrlicht 3D Engine by Doxygen 1.15.0