Blender V5.3
blender::eevee::SphereProbeModule Class Reference

#include <eevee_lightprobe_sphere.hh>

Public Member Functions

 SphereProbeModule (Instance &instance)
template<typename PassType>
void bind_resources (PassType &pass)
StorageBuffer< SphereProbeHarmonic, true > & spherical_harmonics_buf ()
Texture & octahedral_probes_texture ()

Friends

class CaptureView
class Instance

Reflection Probe Module

void init ()
void begin_sync ()
void end_sync ()
void viewport_draw (View &view, gpu::FrameBuffer *view_fb)
void set_view (View &view)
int probe_render_extent () const
const SphereProbe & world_sphere_probe () const

Detailed Description

Definition at line 33 of file eevee_lightprobe_sphere.hh.

Constructor & Destructor Documentation

◆ SphereProbeModule()

blender::eevee::SphereProbeModule::SphereProbeModule ( Instance & instance)
inline

Definition at line 122 of file eevee_lightprobe_sphere.hh.

References Instance.

Member Function Documentation

◆ begin_sync()

◆ bind_resources()

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

Definition at line 130 of file eevee_lightprobe_sphere.hh.

References SPHERE_PROBE_BUF_SLOT, and SPHERE_PROBE_TEX_SLOT.

◆ end_sync()

void blender::eevee::SphereProbeModule::end_sync ( )

◆ init()

void blender::eevee::SphereProbeModule::init ( )

◆ octahedral_probes_texture()

Texture & blender::eevee::SphereProbeModule::octahedral_probes_texture ( )
inline

Definition at line 156 of file eevee_lightprobe_sphere.hh.

◆ probe_render_extent()

int blender::eevee::SphereProbeModule::probe_render_extent ( ) const

Get the resolution of a single cube-map side when rendering probes.

The cube-maps are rendered half size of the size of the octahedral texture.

Definition at line 18 of file eevee_lightprobe_sphere.cc.

◆ set_view()

void blender::eevee::SphereProbeModule::set_view ( View & view)

Select which probes are used for rendering. NOTE: Must run after volume_probe.set_view as it reads the volume probe data.

Definition at line 280 of file eevee_lightprobe_sphere.cc.

References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), b, blender::divide_ceil_u(), blender::eevee::SphereProbeData::location, and blender::eevee::SphereProbe::volume.

◆ spherical_harmonics_buf()

StorageBuffer< SphereProbeHarmonic, true > & blender::eevee::SphereProbeModule::spherical_harmonics_buf ( )
inline

Definition at line 149 of file eevee_lightprobe_sphere.hh.

◆ viewport_draw()

◆ world_sphere_probe()

const SphereProbe & blender::eevee::SphereProbeModule::world_sphere_probe ( ) const

Definition at line 201 of file eevee_lightprobe_sphere.cc.

◆ CaptureView

friend class CaptureView
friend

Definition at line 36 of file eevee_lightprobe_sphere.hh.

References CaptureView.

Referenced by CaptureView.

◆ Instance

friend class Instance
friend

Definition at line 38 of file eevee_lightprobe_sphere.hh.

References Instance.

Referenced by Instance, and SphereProbeModule().


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