Blender V4.3
depsgraph_physics.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2019 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
9#pragma once
10
11struct Collection;
12struct ListBase;
13
14namespace blender::deg {
15
16struct Depsgraph;
17
18ListBase *build_effector_relations(Depsgraph *graph, Collection *collection);
19ListBase *build_collision_relations(Depsgraph *graph,
20 Collection *collection,
21 unsigned int modifier_type);
22void clear_physics_relations(Depsgraph *graph);
23
24} // namespace blender::deg
ListBase * build_collision_relations(Depsgraph *graph, Collection *collection, uint modifier_type)
ListBase * build_effector_relations(Depsgraph *graph, Collection *collection)
void clear_physics_relations(Depsgraph *graph)