EAttributes.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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. #ifndef IRR_E_ATTRIBUTES_H_INCLUDED
  5. #define IRR_E_ATTRIBUTES_H_INCLUDED
  6. namespace irr
  7. {
  8. namespace io
  9. {
  10. //! Types of attributes available for IAttributes
  11. enum E_ATTRIBUTE_TYPE
  12. {
  13. // integer attribute
  14. EAT_INT = 0,
  15. // float attribute
  16. EAT_FLOAT,
  17. // string attribute
  18. EAT_STRING,
  19. // boolean attribute
  20. EAT_BOOL,
  21. // enumeration attribute
  22. EAT_ENUM,
  23. // color attribute
  24. EAT_COLOR,
  25. // floating point color attribute
  26. EAT_COLORF,
  27. // 3d vector attribute
  28. EAT_VECTOR3D,
  29. // 2d position attribute
  30. EAT_POSITION2D,
  31. // vector 2d attribute
  32. EAT_VECTOR2D,
  33. // rectangle attribute
  34. EAT_RECT,
  35. // matrix attribute
  36. EAT_MATRIX,
  37. // quaternion attribute
  38. EAT_QUATERNION,
  39. // 3d bounding box
  40. EAT_BBOX,
  41. // plane
  42. EAT_PLANE,
  43. // 3d triangle
  44. EAT_TRIANGLE3D,
  45. // line 2d
  46. EAT_LINE2D,
  47. // line 3d
  48. EAT_LINE3D,
  49. // array of stringws attribute
  50. EAT_STRINGWARRAY,
  51. // array of float
  52. EAT_FLOATARRAY,
  53. // array of int
  54. EAT_INTARRAY,
  55. // binary data attribute
  56. EAT_BINARY,
  57. // texture reference attribute
  58. EAT_TEXTURE,
  59. // user pointer void*
  60. EAT_USER_POINTER,
  61. // dimension attribute
  62. EAT_DIMENSION2D,
  63. // known attribute type count
  64. EAT_COUNT,
  65. // unknown attribute
  66. EAT_UNKNOWN
  67. };
  68. } // end namespace io
  69. } // end namespace irr
  70. #endif