Blender V5.3
deg_eval_visibility.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2022 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#pragma once
10
11namespace blender {
12
13struct Depsgraph;
14
15namespace deg {
16
17struct Depsgraph;
18struct IDNode;
19
20/* Evaluate actual node visibility flags based on the current state of object's visibility
21 * restriction flags. */
22void deg_evaluate_object_node_visibility(blender::Depsgraph *depsgraph, IDNode *id_node);
23
24/* Update node visibility flags based on actual modifiers mode flags. */
25void deg_evaluate_object_modifiers_mode_node_visibility(blender::Depsgraph *depsgraph,
26 IDNode *id_node);
27
28/* Flush both static and dynamic visibility flags from leaves up to the roots, making it possible
29 * to know whether a node has affect on something (potentially) visible. */
32
33} // namespace deg
34} // namespace blender
void deg_evaluate_object_modifiers_mode_node_visibility(blender::Depsgraph *depsgraph, IDNode *id_node)
void deg_graph_flush_visibility_flags(Depsgraph *graph)
void deg_evaluate_object_node_visibility(blender::Depsgraph *depsgraph, IDNode *id_node)
void deg_graph_flush_visibility_flags_if_needed(Depsgraph *graph)
BMesh Iterators.