108 static_assert(dna::is_ID_v<T>);
114 static_assert(dna::is_ID_v<T>);
115 return reinterpret_cast<const T *
>(
122 PointerRNA *r_ptr_eval);
130 static_assert(dna::is_ID_v<T>);
136 static_assert(dna::is_ID_v<T>);
160 static_assert(dna::is_ID_v<T>);
172 static_assert(dna::is_ID_v<T>);
255#define DEG_OBJECT_ITER_FOR_RENDER_ENGINE_FLAGS \
256 blender::DEG_ITER_OBJECT_FLAG_LINKED_DIRECTLY | blender::DEG_ITER_OBJECT_FLAG_LINKED_VIA_SET | \
257 blender::DEG_ITER_OBJECT_FLAG_VISIBLE | blender::DEG_ITER_OBJECT_FLAG_DUPLI
301#define DEG_OBJECT_ITER_BEGIN(settings_, instance_) \
303 DEGObjectIterData data_ = { \
305 (settings_)->depsgraph, \
306 int((settings_)->flags), \
309 ITER_BEGIN (DEG_iterator_objects_begin, \
310 DEG_iterator_objects_next, \
311 DEG_iterator_objects_end, \
316#define DEG_OBJECT_ITER_END \
363 bool do_matrix_setup,
451 StringRef start_component_name,
#define ENUM_OPERATORS(_enum_type)
Object is a sort of wrapper for general info.
bool DEG_iterator_temp_object_from_dupli(const Object *dupli_parent, const DupliObject *dupli, eEvaluationMode eval_mode, bool do_matrix_setup, Object *r_temp_object, bke::ObjectRuntime *r_temp_runtime)
void DEG_iterator_temp_object_free_properties(const DupliObject *dupli, Object *temp_object)
FunctionRef< bool(ID *id, eDepsObjectComponentType component, StringRef component_name)> DEGForeachNamedIDComponentCallback
void DEG_iterator_ids_end(BLI_Iterator *iter)
std::optional< double > DEG_get_last_evaluation_time(const Depsgraph *depsgraph)
ID * DEG_get_original_id(ID *id)
bool DEG_iterator_object_is_visible(eEvaluationMode eval_mode, const Object *ob)
void DEG_foreach_dependent_ID(const Depsgraph *depsgraph, const ID *id, DEGForeachIDCallback callback)
bool DEG_is_fully_evaluated(const Depsgraph *depsgraph)
void DEG_iterator_objects_next(BLI_Iterator *iter)
bool DEG_id_is_fully_evaluated(const Depsgraph *depsgraph, const ID *id_eval)
bool DEG_scene_component_is_user_modified(const Depsgraph *graph, const Scene *scene, eDepsSceneComponentType component_type)
ID * DEG_get_evaluated_id(const Depsgraph *depsgraph, ID *id)
uint32_t DEG_get_eval_flags_for_id(const Depsgraph *graph, const ID *id)
void DEG_get_customdata_mask_for_object(const Depsgraph *graph, Object *object, CustomData_MeshMasks *r_mask)
bool DEG_id_is_user_modified(const Depsgraph *graph, const ID *id)
void DEG_foreach_ID(const Depsgraph *depsgraph, DEGForeachIDCallback callback)
Depsgraph * DEG_get_depsgraph_by_id(const ID &id)
bool DEG_is_original(const T *id)
bool DEG_id_type_any_exists(const Depsgraph *depsgraph, short id_type)
bool DEG_object_transform_is_evaluated(const Object &object)
ViewLayer * DEG_get_input_view_layer(const Depsgraph *graph)
bool DEG_id_type_any_updated(const Depsgraph *depsgraph)
Main * DEG_get_bmain(const Depsgraph *graph)
BMesh const char void * data
T * DEG_get_evaluated(const Depsgraph *depsgraph, T *id)
void DEG_iterator_ids_next(BLI_Iterator *iter)
@ DEG_ITER_OBJECT_FLAG_LINKED_VIA_SET
@ DEG_ITER_OBJECT_FLAG_VISIBLE
@ DEG_ITER_OBJECT_FLAG_LINKED_DIRECTLY
@ DEG_ITER_OBJECT_FLAG_DUPLI
@ DEG_ITER_OBJECT_FLAG_LINKED_INDIRECTLY
VectorList< DupliObject > DupliList
ViewLayer * DEG_get_evaluated_view_layer(const Depsgraph *graph)
void DEG_foreach_ancestor_ID(const Depsgraph *depsgraph, const ID *id, DEGForeachIDCallback callback)
void DEG_get_evaluated_rna_pointer(const Depsgraph *depsgraph, PointerRNA *ptr, PointerRNA *r_ptr_eval)
void DEG_iterator_objects_end(BLI_Iterator *iter)
eEvaluationMode DEG_get_mode(const Depsgraph *graph)
void DEG_foreach_dependent_ID_component(const Depsgraph *depsgraph, const ID *id, eDepsObjectComponentType source_component_type, int flags, DEGForeachIDComponentCallback callback)
bool DEG_is_evaluated_id(const ID *id)
FunctionRef< void(ID *id, eDepsObjectComponentType component)> DEGForeachIDComponentCallback
bool DEG_iterator_dupli_is_visible(const DupliObject *dupli, eEvaluationMode eval_mode)
T * DEG_get_original(T *id)
@ DEG_FOREACH_COMPONENT_IGNORE_TRANSFORM_SOLVERS
bool DEG_collection_geometry_is_evaluated(const Collection &collection)
void DEG_foreach_dependent_component(const Depsgraph *depsgraph, const ID *start_id, eDepsObjectComponentType start_component_type, StringRef start_component_name, DEGForeachNamedIDComponentCallback callback)
Scene * DEG_get_input_scene(const Depsgraph *graph)
bool DEG_id_type_updated(const Depsgraph *depsgraph, short id_type)
FunctionRef< void(ID *id)> DEGForeachIDCallback
void DEG_iterator_ids_begin(BLI_Iterator *iter, DEGIDIterData *data)
bool DEG_is_original_id(const ID *id)
void DEG_iterator_objects_begin(BLI_Iterator *iter, DEGObjectIterData *data)
bool DEG_is_evaluated(const T *id)
Scene * DEG_get_evaluated_scene(const Depsgraph *graph)
bool DEG_object_geometry_is_evaluated(const Object &object)
float DEG_get_ctime(const Depsgraph *graph)
bool DEG_scene_component_depends_on_time(const Depsgraph &depsgraph, const Scene &scene, const eDepsSceneComponentType component_type)
Object * object_orig_with_preview
eEvaluationMode eval_mode
bke::ObjectRuntime temp_dupli_object_runtime
DupliObject * dupli_object_current
DEGObjectIterSettings * settings
DupliObject * dupli_object_next
void transfer_from(DEGObjectIterData &other)
int dupli_object_next_index
const ViewerPath * viewer_path
Set< const Object * > * included_objects