diff options
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph_types.h')
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph_types.h | 61 |
1 files changed, 30 insertions, 31 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_types.h b/source/blender/depsgraph/intern/depsgraph_types.h index c1a42941a7d..15b6f9bd00e 100644 --- a/source/blender/depsgraph/intern/depsgraph_types.h +++ b/source/blender/depsgraph/intern/depsgraph_types.h @@ -103,10 +103,7 @@ typedef enum eDepsNode_Type { DEG_NODE_TYPE_PARAMETERS, /* Generic "Proxy-Inherit" Component. */ DEG_NODE_TYPE_PROXY, - /* Animation Component - * - * XXX: merge in with parameters? - */ + /* Animation Component */ DEG_NODE_TYPE_ANIMATION, /* Transform Component (Parenting/Constraints) */ DEG_NODE_TYPE_TRANSFORM, @@ -114,6 +111,14 @@ typedef enum eDepsNode_Type { DEG_NODE_TYPE_GEOMETRY, /* Sequencer Component (Scene Only) */ DEG_NODE_TYPE_SEQUENCER, + /* Component which contains all operations needed for layer collections + * evaluation. + */ + DEG_NODE_TYPE_LAYER_COLLECTIONS, + /* Entry component of majority of ID nodes: prepares CoW pointers for + * execution. + */ + DEG_NODE_TYPE_COPY_ON_WRITE, /* **** Evaluation-Related Outer Types (with Subdata) **** */ @@ -140,68 +145,52 @@ typedef enum eDepsOperation_Code { DEG_OPCODE_PLACEHOLDER, /* Animation, Drivers, etc. ------------------------ */ - /* NLA + Action */ DEG_OPCODE_ANIMATION, - /* Driver */ DEG_OPCODE_DRIVER, /* Transform --------------------------------------- */ - /* Transform entry point - local transforms only */ DEG_OPCODE_TRANSFORM_LOCAL, - /* Parenting */ DEG_OPCODE_TRANSFORM_PARENT, - /* Constraints */ DEG_OPCODE_TRANSFORM_CONSTRAINTS, + /* Transform exit point */ + DEG_OPCODE_TRANSFORM_FINAL, + /* Handle object-level updates, mainly proxies hacks and recalc flags. */ + DEG_OPCODE_OBJECT_UBEREVAL, - /* Rigidbody Sim - Perform Sim */ + /* Rigid body -------------------------------------- */ + /* Perform Simulation */ DEG_OPCODE_RIGIDBODY_REBUILD, DEG_OPCODE_RIGIDBODY_SIM, - - /* Rigidbody Sim - Copy Results to Object */ + /* Copy results to object */ DEG_OPCODE_TRANSFORM_RIGIDBODY, - /* Transform exitpoint */ - DEG_OPCODE_TRANSFORM_FINAL, - - /* XXX: ubereval is for temporary porting purposes only */ - DEG_OPCODE_OBJECT_UBEREVAL, - /* Geometry ---------------------------------------- */ - - /* XXX: Placeholder - UberEval */ + /* Evaluate the whole geometry, including modifiers. */ DEG_OPCODE_GEOMETRY_UBEREVAL, - /* Curve Objects - Path Calculation (used for path-following tools, */ DEG_OPCODE_GEOMETRY_PATH, /* Pose -------------------------------------------- */ - /* Init IK Trees, etc. */ DEG_OPCODE_POSE_INIT, - /* Free IK Trees + Compute Deform Matrices */ DEG_OPCODE_POSE_DONE, - /* IK/Spline Solvers */ DEG_OPCODE_POSE_IK_SOLVER, DEG_OPCODE_POSE_SPLINE_IK_SOLVER, /* Bone -------------------------------------------- */ - - /* Bone local transforms - Entrypoint */ + /* Bone local transforms - entry point */ DEG_OPCODE_BONE_LOCAL, - /* Pose-space conversion (includes parent + restpose, */ DEG_OPCODE_BONE_POSE_PARENT, - /* Constraints */ DEG_OPCODE_BONE_CONSTRAINTS, - /* Bone transforms are ready * * - "READY" This (internal, noop is used to signal that all pre-IK @@ -217,10 +206,20 @@ typedef enum eDepsOperation_Code { DEG_OPCODE_BONE_DONE, /* Particles --------------------------------------- */ - - /* XXX: placeholder - Particle System eval */ + /* Particle System evaluation. */ DEG_OPCODE_PSYS_EVAL, + /* Collections ------------------------------------- */ + DEG_OPCODE_SCENE_LAYER_INIT, + DEG_OPCODE_SCENE_LAYER_EVAL, + DEG_OPCODE_SCENE_LAYER_DONE, + + /* Copy on Write ------------------------- */ + DEG_OPCODE_COPY_ON_WRITE, + + /* Shading operations ------------------------- */ + DEG_OPCODE_SHADING, + DEG_NUM_OPCODES, } eDepsOperation_Code; |