Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph_types.h')
-rw-r--r--source/blender/depsgraph/intern/depsgraph_types.h21
1 files changed, 20 insertions, 1 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_types.h b/source/blender/depsgraph/intern/depsgraph_types.h
index ef64fe8c5fe..32ffcd79c74 100644
--- a/source/blender/depsgraph/intern/depsgraph_types.h
+++ b/source/blender/depsgraph/intern/depsgraph_types.h
@@ -150,7 +150,10 @@ typedef enum eDepsNode_Type {
/* Material Shading Component */
DEG_NODE_TYPE_SHADING,
DEG_NODE_TYPE_SHADING_PARAMETERS,
+ /* Point cache Component */
+ DEG_NODE_TYPE_POINT_CACHE,
/* Cache Component */
+ /* TODO(sergey); Verify that we really need this. */
DEG_NODE_TYPE_CACHE,
/* Batch Cache Component - TODO (dfelinto/sergey) rename to make it more generic. */
DEG_NODE_TYPE_BATCH_CACHE,
@@ -209,9 +212,10 @@ typedef enum eDepsOperation_Code {
DEG_OPCODE_RIGIDBODY_TRANSFORM_COPY,
/* Geometry. ---------------------------------------- */
+
/* Evaluate the whole geometry, including modifiers. */
DEG_OPCODE_GEOMETRY_UBEREVAL,
- DEG_OPCODE_GEOMETRY_CLOTH_MODIFIER,
+ /* Evaluation of a shape key. */
DEG_OPCODE_GEOMETRY_SHAPEKEY,
/* Object data. ------------------------------------- */
@@ -287,4 +291,19 @@ typedef enum eDepsOperation_Code {
} eDepsOperation_Code;
const char *operationCodeAsString(eDepsOperation_Code opcode);
+/* Source of the dependency graph node update tag.
+ *
+ * NOTE: This is a bit mask, so accumulation of sources is possible.
+ */
+typedef enum eDepsTag_Source {
+ /* Update is caused by a time change. */
+ DEG_UPDATE_SOURCE_TIME = (1 << 0),
+ /* Update caused by user directly or indirectly influencing the node. */
+ DEG_UPDATE_SOURCE_USER_EDIT = (1 << 1),
+ /* Update is happening as a special response for the relations update. */
+ DEG_UPDATE_SOURCE_RELATIONS = (1 << 2),
+ /* Update is happening due to visibility change. */
+ DEG_UPDATE_SOURCE_VISIBILITY = (1 << 3),
+} eDepsTag_Source;
+
} // namespace DEG