Blender V5.0
blender::eevee::LightModule Class Reference

#include <eevee_light.hh>

Public Member Functions

 LightModule (Instance &inst)
template<typename PassType>
void bind_resources (PassType &pass)

LightModule

 ~LightModule ()
void begin_sync ()
void sync_light (const Object *ob, ObjectHandle &handle)
void end_sync ()
void set_view (View &view, const int2 extent)
void debug_draw (View &view, gpu::FrameBuffer *view_fb)

Detailed Description

The light module manages light data buffers and light culling system.

Definition at line 120 of file eevee_light.hh.

Constructor & Destructor Documentation

◆ LightModule()

blender::eevee::LightModule::LightModule ( Instance & inst)
inline

Definition at line 178 of file eevee_light.hh.

◆ ~LightModule()

blender::eevee::LightModule::~LightModule ( )

Definition at line 343 of file eevee_light.cc.

Member Function Documentation

◆ begin_sync()

◆ bind_resources()

template<typename PassType>
void blender::eevee::LightModule::bind_resources ( PassType & pass)
inline

◆ debug_draw()

void blender::eevee::LightModule::debug_draw ( View & view,
gpu::FrameBuffer * view_fb )

Definition at line 621 of file eevee_light.cc.

References blender::eevee::DEBUG_LIGHT_CULLING, GPU_framebuffer_bind(), and view.

◆ end_sync()

◆ set_view()

void blender::eevee::LightModule::set_view ( View & view,
const int2 extent )

Update acceleration structure for the given view.

Definition at line 605 of file eevee_light.cc.

References CULLING_ZBIN_COUNT, fabsf, and view.

◆ sync_light()


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