|
Blender V4.3
|
#include <light_tree.h>
Classes | |
| struct | Inner |
| struct | Instance |
| struct | Leaf |
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 241 of file light_tree.h.
|
inline |
Definition at line 269 of file light_tree.h.
References LIGHT_TREE_INNER.
|
default |
|
inline |
Definition at line 277 of file light_tree.h.
References LightTreeLightLink::add(), LightTreeMeasure::add(), light_link, LightTreeEmitter::light_set_membership, LightTreeEmitter::measure, and measure.
|
inline |
Definition at line 293 of file light_tree.h.
References variant_type.
Referenced by light_tree_specialize_nodes_flatten().
|
inline |
Definition at line 298 of file light_tree.h.
References variant_type.
|
inline |
Definition at line 303 of file light_tree.h.
References variant_type.
Referenced by get_reference(), and make_instance().
|
inline |
Definition at line 308 of file light_tree.h.
References variant_type.
|
inline |
Definition at line 283 of file light_tree.h.
References variant_type.
Referenced by make_distant(), and make_leaf().
|
inline |
Definition at line 288 of file light_tree.h.
References variant_type.
|
inline |
Definition at line 343 of file light_tree.h.
References get_instance(), is_instance(), LIGHT_TREE_INSTANCE, and LightTreeNode::Instance::reference.
Referenced by light_tree_leaf_emitters_copy_and_flatten().
|
inline |
Definition at line 367 of file light_tree.h.
References LIGHT_TREE_DISTANT.
|
inline |
Definition at line 362 of file light_tree.h.
References LIGHT_TREE_INNER.
Referenced by light_tree_specialize_nodes_flatten().
|
inline |
Definition at line 352 of file light_tree.h.
References LIGHT_TREE_INSTANCE.
Referenced by get_reference().
|
inline |
Definition at line 357 of file light_tree.h.
References LIGHT_TREE_LEAF.
Definition at line 323 of file light_tree.h.
References LightTreeNode::Leaf::first_emitter_index, get_leaf(), LIGHT_TREE_DISTANT, LightTreeNode::Leaf::num_emitters, and variant_type.
Referenced by light_tree_specialize_nodes_flatten().
|
inline |
Definition at line 333 of file light_tree.h.
References get_instance(), LIGHT_TREE_INSTANCE, object_id, and variant_type.
Definition at line 313 of file light_tree.h.
References LightTreeNode::Leaf::first_emitter_index, get_leaf(), LIGHT_TREE_LEAF, LightTreeNode::Leaf::num_emitters, and variant_type.
Referenced by light_tree_specialize_nodes_flatten().
| uint LightTreeNode::bit_trail |
Definition at line 244 of file light_tree.h.
| LightTreeLightLink LightTreeNode::light_link |
Definition at line 243 of file light_tree.h.
Referenced by add(), and light_tree_specialize_nodes_flatten().
| LightTreeMeasure LightTreeNode::measure |
Definition at line 242 of file light_tree.h.
Referenced by add(), and light_tree_specialize_nodes_flatten().
| int LightTreeNode::object_id |
Definition at line 245 of file light_tree.h.
Referenced by make_instance().
| int LightTreeNode::type |
Definition at line 249 of file light_tree.h.
Referenced by light_tree_leaf_emitters_copy_and_flatten().
Definition at line 267 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(), make_distant(), make_instance(), and make_leaf().