Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members

EMaterialFlags.h File Reference

Go to the source code of this file.

Namespaces

namespace  irr
namespace  irr::video

Enumerations

enum  E_MATERIAL_FLAG {
  EMF_WIREFRAME = 0, EMF_POINTCLOUD, EMF_GOURAUD_SHADING, EMF_LIGHTING,
  EMF_ZBUFFER, EMF_ZWRITE_ENABLE, EMF_BACK_FACE_CULLING, EMF_BILINEAR_FILTER,
  EMF_TRILINEAR_FILTER, EMF_ANISOTROPIC_FILTER, EMF_FOG_ENABLE, EMF_NORMALIZE_NORMALS,
  EMF_TEXTURE_WRAP, EMF_MATERIAL_FLAG_COUNT
}
 Material flags. More...


Enumeration Type Documentation

enum irr::video::E_MATERIAL_FLAG
 

Material flags.

Enumeration values:
EMF_WIREFRAME  Draw as wireframe or filled triangles? Default: false.
EMF_POINTCLOUD  Draw as point cloud or filled triangles? Default: false.
EMF_GOURAUD_SHADING  Flat or Gouraud shading? Default: true.
EMF_LIGHTING  Will this material be lighted? Default: true.
EMF_ZBUFFER  Is the ZBuffer enabled? Default: true.
EMF_ZWRITE_ENABLE  May be written to the zbuffer or is it readonly. Default: true This flag is ignored, if the material type is a transparent type.
EMF_BACK_FACE_CULLING  Is backfaceculling enabled? Default: true.
EMF_BILINEAR_FILTER  Is bilinear filtering enabled? Default: true.
EMF_TRILINEAR_FILTER  Is trilinear filtering enabled? Default: false If the trilinear filter flag is enabled, the bilinear filtering flag is ignored.
EMF_ANISOTROPIC_FILTER  Is anisotropic filtering? Default: false In Irrlicht you can use anisotropic texture filtering in conjunction with bilinear or trilinear texture filtering to improve rendering results. Primitives will look less blurry with this flag switched on.
EMF_FOG_ENABLE  Is fog enabled? Default: false.
EMF_NORMALIZE_NORMALS  Normalizes normals.You can enable this if you need to scale a dynamic lighted model. Usually, its normals will get scaled too then and it will get darker. If you enable the EMF_NORMALIZE_NORMALS flag, the normals will be normalized again, and the model will look as bright as it should.
EMF_TEXTURE_WRAP  Access to all layers texture wrap settings. Overwrites separate layer settings.
EMF_MATERIAL_FLAG_COUNT  This is not a flag, but a value indicating how much flags there are.

Definition at line 14 of file EMaterialFlags.h.


The Irrlicht Engine
The Irrlicht Engine Documentation © 2003-2008 by Nikolaus Gebhardt. Generated on Sun Jun 1 07:59:09 2008 by Doxygen (1.4.2)