Blender V4.3
depsgraph_query_foreach.cc File Reference

Go to the source code of this file.

Namespaces

namespace  blender
namespace  blender::deg

Functions

void DEG_foreach_dependent_ID (const Depsgraph *depsgraph, const ID *id, DEGForeachIDCallback callback)
void DEG_foreach_dependent_ID_component (const Depsgraph *depsgraph, const ID *id, eDepsObjectComponentType source_component_type, int flags, DEGForeachIDComponentCallback callback)
void DEG_foreach_ancestor_ID (const Depsgraph *depsgraph, const ID *id, DEGForeachIDCallback callback)
void DEG_foreach_ID (const Depsgraph *depsgraph, DEGForeachIDCallback callback)

Detailed Description

Implementation of Querying and Filtering API's

Definition in file depsgraph_query_foreach.cc.

Function Documentation

◆ DEG_foreach_ancestor_ID()

void DEG_foreach_ancestor_ID ( const Depsgraph * depsgraph,
const ID * id,
DEGForeachIDCallback callback )
Note
Modifies runtime flags in depsgraph nodes, so can not be used in parallel. Keep an eye on that!

Definition at line 266 of file depsgraph_query_foreach.cc.

References depsgraph.

◆ DEG_foreach_dependent_ID()

void DEG_foreach_dependent_ID ( const Depsgraph * depsgraph,
const ID * id,
DEGForeachIDCallback callback )

Definition at line 249 of file depsgraph_query_foreach.cc.

References depsgraph.

◆ DEG_foreach_dependent_ID_component()

void DEG_foreach_dependent_ID_component ( const Depsgraph * depsgraph,
const ID * id,
eDepsObjectComponentType source_component_type,
int flags,
DEGForeachIDComponentCallback callback )

Definition at line 256 of file depsgraph_query_foreach.cc.

References depsgraph.

Referenced by flush_trans_object_base_deps_flag().

◆ DEG_foreach_ID()

void DEG_foreach_ID ( const Depsgraph * depsgraph,
DEGForeachIDCallback callback )

Definition at line 273 of file depsgraph_query_foreach.cc.

References depsgraph.