|
Unravel Engine C++ Reference
|
#include <reflection_probe_system.h>
Public Member Functions | |
| auto | init (rtti::context &ctx) -> bool |
| auto | deinit (rtti::context &ctx) -> bool |
| void | on_frame_update (scene &scn, delta_t dt) |
| void | on_play_begin (hpp::span< const entt::handle > entities, delta_t dt) |
Static Public Member Functions | |
| static auto | mark_all_dirty (scene &scn, bool force_full_first_frame=false) -> size_t |
| Flags every reflection probe in the scene for rebuild. | |
Definition at line 10 of file reflection_probe_system.h.
| auto unravel::reflection_probe_system::deinit | ( | rtti::context & | ctx | ) | -> bool |
Definition at line 20 of file reflection_probe_system.cpp.
| auto unravel::reflection_probe_system::init | ( | rtti::context & | ctx | ) | -> bool |
Definition at line 13 of file reflection_probe_system.cpp.
|
static |
Flags every reflection probe in the scene for rebuild.
Used by editor tooling and scripted bakes. When force_full_first_frame is true, each probe bakes all six faces in a single frame (no time slicing) - pick true for explicit "Bake now" actions and false for background rebuilds where smooth amortization is preferred.
Definition at line 61 of file reflection_probe_system.cpp.
Definition at line 27 of file reflection_probe_system.cpp.
| void unravel::reflection_probe_system::on_play_begin | ( | hpp::span< const entt::handle > | entities, |
| delta_t | dt ) |
Definition at line 43 of file reflection_probe_system.cpp.