Blender  V3.3
deg_eval_visibility.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2022 Blender Foundation. All rights reserved. */
3 
8 #pragma once
9 
10 struct Depsgraph;
11 
12 namespace blender::deg {
13 
14 struct Depsgraph;
15 struct IDNode;
16 
17 /* Evaluate actual node visibility flags based on the current state of object's visibility
18  * restriction flags. */
20 
21 /* Flush both static and dynamic visibility flags from leaves up to the roots, making it possible
22  * to know whether a node has affect on something (potentially) visible. */
25 
26 } // namespace blender::deg
struct Depsgraph Depsgraph
Definition: DEG_depsgraph.h:35
Depsgraph * graph
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_graph_flush_visibility_flags_if_needed(Depsgraph *graph)