15 APPLOG_TRACE(
"{}::{}", hpp::type_name_str(*
this), __func__);
22 APPLOG_TRACE(
"{}::{}", hpp::type_name_str(*
this), __func__);
30 const float seconds = dt.count();
32 [&](
auto e,
auto&& transform,
auto&& probe)
36 probe.release_resources();
39 probe.update(seconds);
47 for(
const auto&
entity : entities)
56 probe->mark_dirty(
true);
65 [&](
auto ,
auto&& probe)
67 probe.mark_dirty(force_full_first_frame);
Class that contains core reflection probe data, used for rendering and other purposes.
void on_play_begin(hpp::span< const entt::handle > entities, delta_t dt)
static auto mark_all_dirty(scene &scn, bool force_full_first_frame=false) -> size_t
Flags every reflection probe in the scene for rebuild.
void on_frame_update(scene &scn, delta_t dt)
auto deinit(rtti::context &ctx) -> bool
auto init(rtti::context &ctx) -> bool
std::chrono::duration< float > delta_t
#define APPLOG_TRACE(...)
#define APP_SCOPE_PERF(name_literal)
Create a scoped performance timer that records to the timeline profiler. Only accepts string literals...
Represents a scene in the ACE framework, managing entities and their relationships.
std::unique_ptr< entt::registry > registry
The registry that manages all entities in the scene.