Changeset View
Changeset View
Standalone View
Standalone View
source/blender/depsgraph/DEG_depsgraph_query.h
| Show First 20 Lines • Show All 110 Lines • ▼ Show 20 Lines | |||||
| bool DEG_is_original_object(struct Object *object); | bool DEG_is_original_object(struct Object *object); | ||||
| /* Opposite of the above. | /* Opposite of the above. | ||||
| * | * | ||||
| * If the datablock is not original it must be evaluated, and vice versa. */ | * If the datablock is not original it must be evaluated, and vice versa. */ | ||||
| bool DEG_is_evaluated_id(struct ID *id); | bool DEG_is_evaluated_id(struct ID *id); | ||||
| bool DEG_is_evaluated_object(struct Object *object); | bool DEG_is_evaluated_object(struct Object *object); | ||||
| /* Check whether depsgraph os fully evaluated. This includes the following checks: | |||||
| * - Relations are up-to-date. | |||||
| * - Nothing is tagged for update. */ | |||||
| bool DEG_is_fully_evaluated(const struct Depsgraph *depsgraph); | |||||
| /* ************************ DEG object iterators ********************* */ | /* ************************ DEG object iterators ********************* */ | ||||
| enum { | enum { | ||||
| DEG_ITER_OBJECT_FLAG_LINKED_DIRECTLY = (1 << 0), | DEG_ITER_OBJECT_FLAG_LINKED_DIRECTLY = (1 << 0), | ||||
| DEG_ITER_OBJECT_FLAG_LINKED_INDIRECTLY = (1 << 1), | DEG_ITER_OBJECT_FLAG_LINKED_INDIRECTLY = (1 << 1), | ||||
| DEG_ITER_OBJECT_FLAG_LINKED_VIA_SET = (1 << 2), | DEG_ITER_OBJECT_FLAG_LINKED_VIA_SET = (1 << 2), | ||||
| DEG_ITER_OBJECT_FLAG_VISIBLE = (1 << 3), | DEG_ITER_OBJECT_FLAG_VISIBLE = (1 << 3), | ||||
| DEG_ITER_OBJECT_FLAG_DUPLI = (1 << 4), | DEG_ITER_OBJECT_FLAG_DUPLI = (1 << 4), | ||||
| ▲ Show 20 Lines • Show All 107 Lines • Show Last 20 Lines | |||||