summaryrefslogtreecommitdiff
path: root/include/EAttributes.h
diff options
context:
space:
mode:
authorMirrorbot <mirrorbot@cogarr.net>2025-12-27 17:53:06 -0600
committerMirrorbot <mirrorbot@cogarr.net>2025-12-27 17:53:06 -0600
commit71e94ee161447b84c0eaabf6567f8fa62262cd3e (patch)
tree391064cc6173a6fe75069af2fdc1978af12f623e /include/EAttributes.h
downloadirrlicht-master.tar.gz
irrlicht-master.tar.bz2
irrlicht-master.zip
Inital commitHEADmaster
Diffstat (limited to 'include/EAttributes.h')
-rw-r--r--include/EAttributes.h101
1 files changed, 101 insertions, 0 deletions
diff --git a/include/EAttributes.h b/include/EAttributes.h
new file mode 100644
index 0000000..51f102b
--- /dev/null
+++ b/include/EAttributes.h
@@ -0,0 +1,101 @@
+// 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_ATTRIBUTES_H_INCLUDED__
+#define __E_ATTRIBUTES_H_INCLUDED__
+
+namespace irr
+{
+namespace io
+{
+
+//! Types of attributes available for IAttributes
+enum E_ATTRIBUTE_TYPE
+{
+ // integer attribute
+ EAT_INT = 0,
+
+ // float attribute
+ EAT_FLOAT,
+
+ // string attribute
+ EAT_STRING,
+
+ // boolean attribute
+ EAT_BOOL,
+
+ // enumeration attribute
+ EAT_ENUM,
+
+ // color attribute
+ EAT_COLOR,
+
+ // floating point color attribute
+ EAT_COLORF,
+
+ // 3d vector attribute
+ EAT_VECTOR3D,
+
+ // 2d position attribute
+ EAT_POSITION2D,
+
+ // vector 2d attribute
+ EAT_VECTOR2D,
+
+ // rectangle attribute
+ EAT_RECT,
+
+ // matrix attribute
+ EAT_MATRIX,
+
+ // quaternion attribute
+ EAT_QUATERNION,
+
+ // 3d bounding box
+ EAT_BBOX,
+
+ // plane
+ EAT_PLANE,
+
+ // 3d triangle
+ EAT_TRIANGLE3D,
+
+ // line 2d
+ EAT_LINE2D,
+
+ // line 3d
+ EAT_LINE3D,
+
+ // array of stringws attribute
+ EAT_STRINGWARRAY,
+
+ // array of float
+ EAT_FLOATARRAY,
+
+ // array of int
+ EAT_INTARRAY,
+
+ // binary data attribute
+ EAT_BINARY,
+
+ // texture reference attribute
+ EAT_TEXTURE,
+
+ // user pointer void*
+ EAT_USER_POINTER,
+
+ // dimension attribute
+ EAT_DIMENSION2D,
+
+ // known attribute type count
+ EAT_COUNT,
+
+ // unknown attribute
+ EAT_UNKNOWN
+};
+
+} // end namespace io
+} // end namespace irr
+
+#endif