Changeset View
Changeset View
Standalone View
Standalone View
source/blender/depsgraph/intern/node/deg_node_id.h
| Show First 20 Lines • Show All 78 Lines • ▼ Show 20 Lines | struct IDNode : public Node { | ||||
| /* Additional flags needed for scene evaluation. | /* Additional flags needed for scene evaluation. | ||||
| * TODO(sergey): Only needed for until really granular updates | * TODO(sergey): Only needed for until really granular updates | ||||
| * of all the entities. */ | * of all the entities. */ | ||||
| uint32_t eval_flags; | uint32_t eval_flags; | ||||
| uint32_t previous_eval_flags; | uint32_t previous_eval_flags; | ||||
| /* Extra customdata mask which needs to be evaluated for the mesh object. */ | /* Extra customdata mask which needs to be evaluated for the mesh object. */ | ||||
| uint64_t customdata_mask; | uint64_t customdata_vmask; | ||||
| uint64_t previous_customdata_mask; | uint64_t customdata_emask; | ||||
| uint64_t customdata_fmask; | |||||
| uint64_t customdata_lmask; | |||||
| uint64_t customdata_pmask; | |||||
| uint64_t previous_customdata_vmask; | |||||
| uint64_t previous_customdata_emask; | |||||
| uint64_t previous_customdata_fmask; | |||||
| uint64_t previous_customdata_lmask; | |||||
| uint64_t previous_customdata_pmask; | |||||
sergey: This should really be one property for current and one property for previous one.
Can either… | |||||
| eDepsNode_LinkedState_Type linked_state; | eDepsNode_LinkedState_Type linked_state; | ||||
| /* Indicates the datablock is visible in the evaluated scene. */ | /* Indicates the datablock is visible in the evaluated scene. */ | ||||
| bool is_directly_visible; | bool is_directly_visible; | ||||
| /* For the collection type of ID, denotes whether collection was fully | /* For the collection type of ID, denotes whether collection was fully | ||||
| * recursed into. */ | * recursed into. */ | ||||
| Show All 9 Lines | |||||
This should really be one property for current and one property for previous one.
Can either use CustomData_Mask, or some DEG specific variation with all the handy operations overloaded for it.