|
Blender V5.0
|
#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 () |
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 |
Definition at line 32 of file eevee_lightprobe_sphere.hh.
|
inline |
Definition at line 115 of file eevee_lightprobe_sphere.hh.
References Instance.
| void blender::eevee::SphereProbeModule::begin_sync | ( | ) |
Definition at line 31 of file eevee_lightprobe_sphere.cc.
References blender::eevee::SphereProbeData::atlas_coord, blender::draw::detail::PassBase< DrawCommandBufType >::barrier(), blender::draw::detail::PassBase< DrawCommandBufType >::bind_image(), blender::draw::detail::PassBase< DrawCommandBufType >::bind_resources(), blender::draw::detail::PassBase< DrawCommandBufType >::bind_ssbo(), blender::draw::detail::PassBase< DrawCommandBufType >::bind_texture(), blender::draw::detail::PassBase< DrawCommandBufType >::dispatch(), GPU_BARRIER_SHADER_STORAGE, GPU_BARRIER_TEXTURE_FETCH, GPU_BARRIER_UNIFORM, blender::draw::detail::Pass< DrawCommandBufType >::init(), blender::draw::detail::PassBase< DrawCommandBufType >::push_constant(), blender::draw::detail::PassBase< DrawCommandBufType >::shader_set(), blender::draw::detail::PassBase< DrawCommandBufType >::specialize_constant(), blender::eevee::SPHERE_PROBE_CONVOLVE, blender::eevee::SPHERE_PROBE_IRRADIANCE, blender::eevee::SPHERE_PROBE_REMAP, blender::eevee::SPHERE_PROBE_SELECT, and blender::eevee::SPHERE_PROBE_SUNLIGHT.
|
inline |
Definition at line 123 of file eevee_lightprobe_sphere.hh.
References SPHERE_PROBE_BUF_SLOT, and SPHERE_PROBE_TEX_SLOT.
| void blender::eevee::SphereProbeModule::end_sync | ( | ) |
Definition at line 130 of file eevee_lightprobe_sphere.cc.
References DRW_viewport_request_redraw().
| void blender::eevee::SphereProbeModule::init | ( | ) |
Definition at line 19 of file eevee_lightprobe_sphere.cc.
References DEG_id_type_any_exists(), and ID_LP.
| 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 14 of file eevee_lightprobe_sphere.cc.
| 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 253 of file eevee_lightprobe_sphere.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), b, blender::Vector< T, InlineBufferCapacity, Allocator >::begin(), blender::Vector< T, InlineBufferCapacity, Allocator >::end(), if(), blender::eevee::SphereProbeData::location, and SPHERE_PROBE_MAX.
|
inline |
Definition at line 142 of file eevee_lightprobe_sphere.hh.
| void blender::eevee::SphereProbeModule::viewport_draw | ( | View & | view, |
| gpu::FrameBuffer * | view_fb ) |
Definition at line 338 of file eevee_lightprobe_sphere.cc.
References blender::eevee::DISPLAY_PROBE_SPHERE, DRW_STATE_CLIP_CONTROL_UNIT_RANGE, DRW_STATE_CULL_BACK, DRW_STATE_WRITE_COLOR, DRW_STATE_WRITE_DEPTH, GPU_PRIM_TRIS, view, and viewport_draw().
Referenced by viewport_draw().
|
friend |
Definition at line 35 of file eevee_lightprobe_sphere.hh.
References CaptureView.
Referenced by CaptureView.
|
friend |
Definition at line 37 of file eevee_lightprobe_sphere.hh.
References Instance.
Referenced by Instance, and SphereProbeModule().