2
0

EMaterialProps.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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
  4. #pragma once
  5. namespace irr
  6. {
  7. namespace video
  8. {
  9. //! Material properties
  10. enum E_MATERIAL_PROP
  11. {
  12. //! Corresponds to SMaterial::Wireframe.
  13. EMP_WIREFRAME = 0x1,
  14. //! Corresponds to SMaterial::PointCloud.
  15. EMP_POINTCLOUD = 0x2,
  16. //! Corresponds to SMaterial::ZBuffer.
  17. EMP_ZBUFFER = 0x10,
  18. //! Corresponds to SMaterial::ZWriteEnable.
  19. EMP_ZWRITE_ENABLE = 0x20,
  20. //! Corresponds to SMaterial::BackfaceCulling.
  21. EMP_BACK_FACE_CULLING = 0x40,
  22. //! Corresponds to SMaterial::FrontfaceCulling.
  23. EMP_FRONT_FACE_CULLING = 0x80,
  24. //! Corresponds to SMaterialLayer::MinFilter.
  25. EMP_MIN_FILTER = 0x100,
  26. //! Corresponds to SMaterialLayer::MagFilter.
  27. EMP_MAG_FILTER = 0x200,
  28. //! Corresponds to SMaterialLayer::AnisotropicFilter.
  29. EMP_ANISOTROPIC_FILTER = 0x400,
  30. //! Corresponds to SMaterial::FogEnable.
  31. EMP_FOG_ENABLE = 0x800,
  32. //! Corresponds to SMaterialLayer::TextureWrapU, TextureWrapV and
  33. //! TextureWrapW.
  34. EMP_TEXTURE_WRAP = 0x2000,
  35. //! Corresponds to SMaterial::AntiAliasing.
  36. EMP_ANTI_ALIASING = 0x4000,
  37. //! Corresponds to SMaterial::ColorMask.
  38. EMP_COLOR_MASK = 0x8000,
  39. //! Corresponds to SMaterial::UseMipMaps.
  40. EMP_USE_MIP_MAPS = 0x20000,
  41. //! Corresponds to SMaterial::BlendOperation.
  42. EMP_BLEND_OPERATION = 0x40000,
  43. //! Corresponds to SMaterial::PolygonOffsetFactor, PolygonOffsetDirection,
  44. //! PolygonOffsetDepthBias and PolygonOffsetSlopeScale.
  45. EMP_POLYGON_OFFSET = 0x80000,
  46. //! Corresponds to SMaterial::BlendFactor.
  47. EMP_BLEND_FACTOR = 0x100000,
  48. };
  49. } // end namespace video
  50. } // end namespace irr