Blender V5.3
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 ObjectRef &ob_ref)
void end_sync ()
void set_view (View &view, const int2 extent)
void shape_display_draw (View &view, gpu::FrameBuffer *view_fb)
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 125 of file eevee_light.hh.

Constructor & Destructor Documentation

◆ LightModule()

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

Definition at line 190 of file eevee_light.hh.

◆ ~LightModule()

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

Definition at line 353 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 )

◆ 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 661 of file eevee_light.cc.

References fabsf, blender::draw::View::far_clip(), blender::draw::View::is_inverted(), and blender::draw::View::near_clip().

◆ shape_display_draw()

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

Definition at line 687 of file eevee_light.cc.

References blender::GPU_framebuffer_bind().

◆ sync_light()


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