Blender V4.5
LightTreeEmitter Struct Reference

#include <light_tree.h>

Classes

union  [union].__unnamed0__

Public Member Functions

 LightTreeEmitter (Object *object, const int object_id)
 LightTreeEmitter (Scene *scene, const int prim_id, const int object_id, bool need_transformation=false)
__forceinline bool is_mesh () const
__forceinline bool is_triangle () const
__forceinline bool is_light () const

Public Attributes

unique_ptr< LightTreeNoderoot
union  
int object_id
float3 centroid
uint64_t light_set_membership
LightTreeMeasure measure

Detailed Description

Definition at line 184 of file light_tree.h.

Constructor & Destructor Documentation

◆ LightTreeEmitter() [1/2]

LightTreeEmitter::LightTreeEmitter ( Object * object,
const int object_id )

Definition at line 79 of file light_tree.cpp.

References centroid, light_set_membership, and object_id.

Referenced by LightTree::build().

◆ LightTreeEmitter() [2/2]

Member Function Documentation

◆ is_light()

__forceinline bool LightTreeEmitter::is_light ( ) const
inline

◆ is_mesh()

__forceinline bool LightTreeEmitter::is_mesh ( ) const
inline

Definition at line 205 of file light_tree.h.

References __forceinline, and root.

Referenced by is_light(), is_triangle(), light_tree_leaf_emitters_copy_and_flatten(), and print_emitters().

◆ is_triangle()

__forceinline bool LightTreeEmitter::is_triangle ( ) const
inline

Member Data Documentation

◆ @064146041366177266022225045314277024020017167065

◆ centroid

float3 LightTreeEmitter::centroid

Definition at line 194 of file light_tree.h.

Referenced by LightTreeEmitter(), and LightTreeEmitter().

◆ light_set_membership

◆ measure

◆ object_id

int LightTreeEmitter::object_id

◆ root

unique_ptr<LightTreeNode> LightTreeEmitter::root

The documentation for this struct was generated from the following files: