Unravel Engine C++ Reference
Loading...
Searching...
No Matches
unravel::reflection_probe_system Class 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.
 

Detailed Description

Definition at line 10 of file reflection_probe_system.h.

Member Function Documentation

◆ deinit()

auto unravel::reflection_probe_system::deinit ( rtti::context & ctx) -> bool

Definition at line 20 of file reflection_probe_system.cpp.

◆ init()

auto unravel::reflection_probe_system::init ( rtti::context & ctx) -> bool

Definition at line 13 of file reflection_probe_system.cpp.

◆ mark_all_dirty()

auto unravel::reflection_probe_system::mark_all_dirty ( scene & scn,
bool force_full_first_frame = false ) -> size_t
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.

◆ on_frame_update()

void unravel::reflection_probe_system::on_frame_update ( scene & scn,
delta_t dt )

Definition at line 27 of file reflection_probe_system.cpp.

◆ on_play_begin()

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.


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