Changeset View
Changeset View
Standalone View
Standalone View
source/blender/depsgraph/intern/builder/deg_builder_nodes.h
| Show First 20 Lines • Show All 151 Lines • ▼ Show 20 Lines | OperationDepsNode *find_operation_node(ID *id, | ||||
| int name_tag = -1); | int name_tag = -1); | ||||
| OperationDepsNode *find_operation_node(ID *id, | OperationDepsNode *find_operation_node(ID *id, | ||||
| eDepsNode_Type comp_type, | eDepsNode_Type comp_type, | ||||
| eDepsOperation_Code opcode, | eDepsOperation_Code opcode, | ||||
| const char *name = "", | const char *name = "", | ||||
| int name_tag = -1); | int name_tag = -1); | ||||
| void build_scene_layer(Scene *scene, | void build_view_layer(Scene *scene, | ||||
| SceneLayer *scene_layer, | ViewLayer *view_layer, | ||||
| eDepsNode_LinkedState_Type linked_state); | eDepsNode_LinkedState_Type linked_state); | ||||
| void build_group(Group *group); | void build_group(Group *group); | ||||
| void build_object(Object *ob, | void build_object(Object *ob, | ||||
| eDepsNode_LinkedState_Type linked_state); | eDepsNode_LinkedState_Type linked_state); | ||||
| void build_object_transform(Object *ob); | void build_object_transform(Object *ob); | ||||
| void build_object_constraints(Object *ob); | void build_object_constraints(Object *ob); | ||||
| void build_pose_constraints(Object *ob, bPoseChannel *pchan); | void build_pose_constraints(Object *ob, bPoseChannel *pchan); | ||||
| void build_rigidbody(Scene *scene); | void build_rigidbody(Scene *scene); | ||||
| Show All 30 Lines | struct DepsgraphNodeBuilder { | ||||
| struct LayerCollectionState { | struct LayerCollectionState { | ||||
| int index; | int index; | ||||
| LayerCollection *parent; | LayerCollection *parent; | ||||
| }; | }; | ||||
| void build_layer_collection(LayerCollection *layer_collection, | void build_layer_collection(LayerCollection *layer_collection, | ||||
| LayerCollectionState *state); | LayerCollectionState *state); | ||||
| void build_layer_collections(ListBase *layer_collections, | void build_layer_collections(ListBase *layer_collections, | ||||
| LayerCollectionState *state); | LayerCollectionState *state); | ||||
| void build_scene_layer_collections(SceneLayer *scene_layer); | void build_view_layer_collections(ViewLayer *view_layer); | ||||
| protected: | protected: | ||||
| /* State which never changes, same for the whole builder time. */ | /* State which never changes, same for the whole builder time. */ | ||||
| Main *bmain_; | Main *bmain_; | ||||
| Depsgraph *graph_; | Depsgraph *graph_; | ||||
| /* State which demotes currently built entities. */ | /* State which demotes currently built entities. */ | ||||
| Scene *scene_; | Scene *scene_; | ||||
| GHash *cow_id_hash_; | GHash *cow_id_hash_; | ||||
| }; | }; | ||||
| } // namespace DEG | } // namespace DEG | ||||