Blender V4.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
9#pragma once
10
11struct Depsgraph;
12
13namespace blender::deg {
14
15struct Depsgraph;
16struct IDNode;
17
18/* Evaluate actual node visibility flags based on the current state of object's visibility
19 * restriction flags. */
20void deg_evaluate_object_node_visibility(::Depsgraph *depsgraph, IDNode *id_node);
21
22/* Update node visibility flags based on actual modifiers mode flags. */
24
25/* Flush both static and dynamic visibility flags from leaves up to the roots, making it possible
26 * to know whether a node has affect on something (potentially) visible. */
27void deg_graph_flush_visibility_flags(Depsgraph *graph);
29
30} // namespace blender::deg
const IDNode * id_node
const Depsgraph * depsgraph
void deg_evaluate_object_node_visibility(::Depsgraph *depsgraph, IDNode *id_node)
void deg_graph_flush_visibility_flags(Depsgraph *graph)
void deg_evaluate_object_modifiers_mode_node_visibility(::Depsgraph *depsgraph, IDNode *id_node)
void deg_graph_flush_visibility_flags_if_needed(Depsgraph *graph)