|
Blender V4.3
|
#include <eevee_lightprobe.hh>
Public Member Functions | |
| ~LightProbeModule () | |
Friends | |
| class | IrradianceBake |
| class | VolumeProbeModule |
| class | PlanarProbeModule |
| class | SphereProbeModule |
| class | BackgroundPipeline |
Light-Probe Module | |
| LightProbeModule (Instance &inst) | |
| void | init () |
| void | begin_sync () |
| void | sync_probe (const Object *ob, ObjectHandle &handle) |
| void | sync_world (const ::World *world, bool has_update) |
| void | end_sync () |
Definition at line 200 of file eevee_lightprobe.hh.
| blender::eevee::LightProbeModule::LightProbeModule | ( | Instance & | inst | ) |
Definition at line 29 of file eevee_lightprobe.cc.
References blender::eevee::SphereProbe::clipping_distances, blender::MatBase< float, 3, 4 >::identity(), blender::eevee::SphereProbeData::influence_bias, blender::eevee::SphereProbeData::influence_scale, blender::eevee::SphereProbeData::influence_shape, blender::eevee::SphereProbeData::parallax_distance, blender::eevee::SphereProbeData::parallax_shape, blender::eevee::SHAPE_ELIPSOID, blender::eevee::SphereProbe::use_for_render, and blender::eevee::SphereProbeData::world_to_probe_transposed.
|
inline |
Definition at line 227 of file eevee_lightprobe.hh.
| void blender::eevee::LightProbeModule::begin_sync | ( | ) |
Definition at line 70 of file eevee_lightprobe.cc.
References Scene::eevee, SceneEEVEE::flag, blender::eevee::Instance::is_viewport(), SCE_EEVEE_GI_AUTOBAKE, and blender::eevee::Instance::scene.
Referenced by blender::eevee::Instance::begin_sync().
| void blender::eevee::LightProbeModule::end_sync | ( | ) |
Definition at line 225 of file eevee_lightprobe.cc.
References blender::eevee::LightProbe::updated, blender::eevee::LightProbe::used, and blender::MutableMapItem< Key, Value >::value.
Referenced by blender::eevee::Instance::end_sync().
| void blender::eevee::LightProbeModule::init | ( | ) |
Definition at line 64 of file eevee_lightprobe.cc.
References Scene::eevee, SceneEEVEE::gi_cubemap_resolution, blender::eevee::resolution_to_probe_resolution_enum(), and blender::eevee::Instance::scene.
Referenced by blender::eevee::Instance::init(), and blender::eevee::Instance::init_light_bake().
| void blender::eevee::LightProbeModule::sync_probe | ( | const Object * | ob, |
| ObjectHandle & | handle ) |
Definition at line 187 of file eevee_lightprobe.cc.
References BLI_assert_unreachable, Object::data, LIGHTPROBE_TYPE_PLANE, LIGHTPROBE_TYPE_SPHERE, and LIGHTPROBE_TYPE_VOLUME.
Referenced by blender::eevee::Instance::object_sync().
| void blender::eevee::LightProbeModule::sync_world | ( | const ::World * | world, |
| bool | has_update ) |
Definition at line 204 of file eevee_lightprobe.cc.
References blender::eevee::SphereProbeAtlasCoord::as_sampling_coord(), blender::eevee::SphereProbe::atlas_coord, blender::eevee::SphereProbeData::atlas_coord, blender::eevee::SphereProbe::do_render, blender::eevee::SphereProbeAtlasCoord::free(), blender::eevee::Instance::sphere_probes, and blender::eevee::SphereProbeAtlasCoord::subdivision_lvl.
Referenced by blender::eevee::World::sync().
|
friend |
Definition at line 205 of file eevee_lightprobe.hh.
|
friend |
Definition at line 201 of file eevee_lightprobe.hh.
|
friend |
Definition at line 203 of file eevee_lightprobe.hh.
|
friend |
Definition at line 204 of file eevee_lightprobe.hh.
|
friend |
Definition at line 202 of file eevee_lightprobe.hh.