EMaterialProps.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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::GouraudShading.
  17. EMP_GOURAUD_SHADING = 0x4,
  18. //! Corresponds to SMaterial::Lighting.
  19. EMP_LIGHTING = 0x8,
  20. //! Corresponds to SMaterial::ZBuffer.
  21. EMP_ZBUFFER = 0x10,
  22. //! Corresponds to SMaterial::ZWriteEnable.
  23. EMP_ZWRITE_ENABLE = 0x20,
  24. //! Corresponds to SMaterial::BackfaceCulling.
  25. EMP_BACK_FACE_CULLING = 0x40,
  26. //! Corresponds to SMaterial::FrontfaceCulling.
  27. EMP_FRONT_FACE_CULLING = 0x80,
  28. //! Corresponds to SMaterialLayer::MinFilter.
  29. EMP_MIN_FILTER = 0x100,
  30. //! Corresponds to SMaterialLayer::MagFilter.
  31. EMP_MAG_FILTER = 0x200,
  32. //! Corresponds to SMaterialLayer::AnisotropicFilter.
  33. EMP_ANISOTROPIC_FILTER = 0x400,
  34. //! Corresponds to SMaterial::FogEnable.
  35. EMP_FOG_ENABLE = 0x800,
  36. //! Corresponds to SMaterial::NormalizeNormals.
  37. EMP_NORMALIZE_NORMALS = 0x1000,
  38. //! Corresponds to SMaterialLayer::TextureWrapU, TextureWrapV and
  39. //! TextureWrapW.
  40. EMP_TEXTURE_WRAP = 0x2000,
  41. //! Corresponds to SMaterial::AntiAliasing.
  42. EMP_ANTI_ALIASING = 0x4000,
  43. //! Corresponds to SMaterial::ColorMask.
  44. EMP_COLOR_MASK = 0x8000,
  45. //! Corresponds to SMaterial::ColorMaterial.
  46. EMP_COLOR_MATERIAL = 0x10000,
  47. //! Corresponds to SMaterial::UseMipMaps.
  48. EMP_USE_MIP_MAPS = 0x20000,
  49. //! Corresponds to SMaterial::BlendOperation.
  50. EMP_BLEND_OPERATION = 0x40000,
  51. //! Corresponds to SMaterial::PolygonOffsetFactor, PolygonOffsetDirection,
  52. //! PolygonOffsetDepthBias and PolygonOffsetSlopeScale.
  53. EMP_POLYGON_OFFSET = 0x80000,
  54. //! Corresponds to SMaterial::BlendFactor.
  55. EMP_BLEND_FACTOR = 0x100000,
  56. };
  57. } // end namespace video
  58. } // end namespace irr