aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/coreapi/qsgnode.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2014-08-08 12:10:44 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2014-08-08 20:06:57 +0200
commit268833784bf10715ded1bdfa0d61fc6c67343c16 (patch)
treed3d4d1a60e26519c7ad50bf5e900c62f1ac81272 /src/quick/scenegraph/coreapi/qsgnode.h
parenta0dfd5e52603f6846b46bcdd80e0ca8008a31d2a (diff)
Improve support for node iteration in the internal API
Added a new node visitor that allows easier traversal of the specialized node types such as the image or rectangle nodes. Change-Id: I45a7d3e1513b4a4db9d07998a6bcee9eba34044e Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/quick/scenegraph/coreapi/qsgnode.h')
-rw-r--r--src/quick/scenegraph/coreapi/qsgnode.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/quick/scenegraph/coreapi/qsgnode.h b/src/quick/scenegraph/coreapi/qsgnode.h
index 86977f7854..3dc2a865bd 100644
--- a/src/quick/scenegraph/coreapi/qsgnode.h
+++ b/src/quick/scenegraph/coreapi/qsgnode.h
@@ -95,9 +95,14 @@ public:
// QSGBasicGeometryNode
OwnsGeometry = 0x00010000,
OwnsMaterial = 0x00020000,
- OwnsOpaqueMaterial = 0x00040000
+ OwnsOpaqueMaterial = 0x00040000,
// Uppermost 8 bits are reserved for internal use.
+#ifndef qdoc
+ IsVisitableNode = 0x01000000
+#else
+ InternalReserved = 0x01000000
+#endif
};
Q_DECLARE_FLAGS(Flags, Flag)