|
Blender V5.0
|
#include <light_tree.h>
Classes | |
| struct | Leaf |
| struct | Inner |
| struct | Instance |
Public Member Functions | |
| LightTreeNode (const LightTreeMeasure &measure, const uint &bit_trial) | |
| ~LightTreeNode ()=default | |
| __forceinline void | add (const LightTreeEmitter &emitter) |
| __forceinline Leaf & | get_leaf () |
| __forceinline const Leaf & | get_leaf () const |
| __forceinline Inner & | get_inner () |
| __forceinline const Inner & | get_inner () const |
| __forceinline Instance & | get_instance () |
| __forceinline const Instance & | get_instance () const |
| void | make_leaf (const int first_emitter_index, const int num_emitters) |
| void | make_distant (const int first_emitter_index, const int num_emitters) |
| void | make_instance (LightTreeNode *reference, const int object_id) |
| LightTreeNode * | get_reference () |
| __forceinline bool | is_instance () const |
| __forceinline bool | is_leaf () const |
| __forceinline bool | is_inner () const |
| __forceinline bool | is_distant () const |
Public Attributes | |
| LightTreeMeasure | measure |
| LightTreeLightLink | light_link |
| uint | bit_trail |
| int | object_id |
| int | type |
| std::variant< Leaf, Inner, Instance > | variant_type |
Definition at line 249 of file light_tree.h.
|
inline |
Definition at line 277 of file light_tree.h.
References bit_trail, LIGHT_TREE_INNER, measure, type, and variant_type.
Referenced by get_reference(), and make_instance().
|
default |
|
inline |
Definition at line 285 of file light_tree.h.
References __forceinline, light_link, LightTreeEmitter::light_set_membership, LightTreeEmitter::measure, and measure.
|
inline |
Definition at line 301 of file light_tree.h.
References __forceinline, and variant_type.
Referenced by light_tree_emitters_copy_and_flatten(), light_tree_flatten(), light_tree_specialize_nodes_flatten(), recursive_print_node(), and recursive_print_node_relations().
|
inline |
Definition at line 306 of file light_tree.h.
References __forceinline, and variant_type.
|
inline |
Definition at line 311 of file light_tree.h.
References __forceinline, and variant_type.
Referenced by get_reference(), and make_instance().
|
inline |
Definition at line 316 of file light_tree.h.
References __forceinline, and variant_type.
|
inline |
Definition at line 291 of file light_tree.h.
References __forceinline, and variant_type.
Referenced by light_tree_leaf_emitters_copy_and_flatten(), light_tree_node_copy_to_device(), light_tree_specialize_nodes_flatten(), make_distant(), make_leaf(), and recursive_print_node_relations().
|
inline |
Definition at line 296 of file light_tree.h.
References __forceinline, and variant_type.
|
inline |
Definition at line 351 of file light_tree.h.
References assert, get_instance(), is_instance(), LIGHT_TREE_INSTANCE, LightTreeNode(), LightTreeNode::Instance::reference, and type.
Referenced by light_tree_leaf_emitters_copy_and_flatten().
|
inline |
Definition at line 375 of file light_tree.h.
References __forceinline, LIGHT_TREE_DISTANT, and type.
Referenced by light_tree_emitters_copy_and_flatten(), light_tree_flatten(), light_tree_node_copy_to_device(), light_tree_specialize_nodes_flatten(), recursive_print_node(), and recursive_print_node_relations().
|
inline |
Definition at line 370 of file light_tree.h.
References __forceinline, LIGHT_TREE_INNER, and type.
Referenced by light_tree_emitters_copy_and_flatten(), light_tree_flatten(), light_tree_node_copy_to_device(), light_tree_specialize_nodes_flatten(), recursive_print_node(), and recursive_print_node_relations().
|
inline |
Definition at line 360 of file light_tree.h.
References __forceinline, LIGHT_TREE_INSTANCE, and type.
Referenced by get_reference(), light_tree_flatten(), light_tree_specialize_nodes_flatten(), and recursive_print_node().
|
inline |
Definition at line 365 of file light_tree.h.
References __forceinline, LIGHT_TREE_LEAF, and type.
Referenced by light_tree_emitters_copy_and_flatten(), light_tree_flatten(), light_tree_node_copy_to_device(), light_tree_specialize_nodes_flatten(), recursive_print_node(), and recursive_print_node_relations().
|
inline |
Definition at line 331 of file light_tree.h.
References LightTreeNode::Leaf::first_emitter_index, get_leaf(), LIGHT_TREE_DISTANT, LightTreeNode::Leaf::num_emitters, type, and variant_type.
Referenced by light_tree_specialize_nodes_flatten().
|
inline |
Definition at line 341 of file light_tree.h.
References get_instance(), LIGHT_TREE_INSTANCE, LightTreeNode(), object_id, LightTreeNode::Instance::reference, type, and variant_type.
|
inline |
Definition at line 321 of file light_tree.h.
References LightTreeNode::Leaf::first_emitter_index, get_leaf(), LIGHT_TREE_LEAF, LightTreeNode::Leaf::num_emitters, type, and variant_type.
Referenced by light_tree_specialize_nodes_flatten().
| uint LightTreeNode::bit_trail |
Definition at line 252 of file light_tree.h.
Referenced by light_tree_leaf_emitters_copy_and_flatten(), light_tree_node_copy_to_device(), light_tree_specialize_nodes_flatten(), and LightTreeNode().
| LightTreeLightLink LightTreeNode::light_link |
Definition at line 251 of file light_tree.h.
Referenced by add(), light_tree_specialize_nodes_flatten(), and recursive_print_node().
| LightTreeMeasure LightTreeNode::measure |
Definition at line 250 of file light_tree.h.
Referenced by add(), LightTree::build(), light_tree_node_copy_to_device(), light_tree_specialize_nodes_flatten(), and LightTreeNode().
| int LightTreeNode::object_id |
Definition at line 253 of file light_tree.h.
Referenced by make_instance().
| int LightTreeNode::type |
Definition at line 257 of file light_tree.h.
Referenced by LightTree::build(), get_reference(), is_distant(), is_inner(), is_instance(), is_leaf(), light_tree_leaf_emitters_copy_and_flatten(), light_tree_node_copy_to_device(), LightTreeNode(), make_distant(), make_instance(), and make_leaf().
Definition at line 275 of file light_tree.h.
Referenced by get_inner(), get_inner(), get_instance(), get_instance(), get_leaf(), get_leaf(), light_tree_leaf_emitters_copy_and_flatten(), LightTreeNode(), make_distant(), make_instance(), and make_leaf().