Changeset View
Changeset View
Standalone View
Standalone View
source/blender/depsgraph/DEG_depsgraph_query.h
| Show First 20 Lines • Show All 86 Lines • ▼ Show 20 Lines | |||||
| * This function will check that the data-block has been expanded (and copied) from the original | * This function will check that the data-block has been expanded (and copied) from the original | ||||
| * one. Assert will happen if it's not. */ | * one. Assert will happen if it's not. */ | ||||
| struct Scene *DEG_get_evaluated_scene(const struct Depsgraph *graph); | struct Scene *DEG_get_evaluated_scene(const struct Depsgraph *graph); | ||||
| /* Get view layer at its evaluated state. | /* Get view layer at its evaluated state. | ||||
| * This is a shortcut for accessing active view layer from evaluated scene. */ | * This is a shortcut for accessing active view layer from evaluated scene. */ | ||||
| struct ViewLayer *DEG_get_evaluated_view_layer(const struct Depsgraph *graph); | struct ViewLayer *DEG_get_evaluated_view_layer(const struct Depsgraph *graph); | ||||
| /* Get the evaluated state of the view layer owning the given `object`. | |||||
| * Note that this may not be the active view layer of the evaluated scene, in case e.g. the object | |||||
| * comes from a 'set' scene and not the evaluated scene. */ | |||||
| struct ViewLayer *DEG_get_evaluated_view_layer_of_object(const struct Depsgraph *graph, | |||||
| const struct Object *object); | |||||
| /* Get evaluated version of object for given original one. */ | /* Get evaluated version of object for given original one. */ | ||||
| struct Object *DEG_get_evaluated_object(const struct Depsgraph *depsgraph, struct Object *object); | struct Object *DEG_get_evaluated_object(const struct Depsgraph *depsgraph, struct Object *object); | ||||
| /* Get evaluated version of given ID data-block. */ | /* Get evaluated version of given ID data-block. */ | ||||
| struct ID *DEG_get_evaluated_id(const struct Depsgraph *depsgraph, struct ID *id); | struct ID *DEG_get_evaluated_id(const struct Depsgraph *depsgraph, struct ID *id); | ||||
| /* Get evaluated version of data pointed to by RNA pointer */ | /* Get evaluated version of data pointed to by RNA pointer */ | ||||
| void DEG_get_evaluated_rna_pointer(const struct Depsgraph *depsgraph, | void DEG_get_evaluated_rna_pointer(const struct Depsgraph *depsgraph, | ||||
| ▲ Show 20 Lines • Show All 165 Lines • Show Last 20 Lines | |||||