10#include <hpp/span.hpp>
90 void render_debug(entt::handle camera_entity);
92 std::vector<std::function<void(
gfx::dd_raii& dd)>> debug_draw_callbacks_;
93 std::shared_ptr<int> sentinel_ = std::make_shared<int>(0);
std::shared_ptr< frame_buffer > ptr
Class that contains core camera data, used for rendering and other purposes.
Base class for different rendering paths in the ACE framework.
void on_play_begin(hpp::span< const entt::handle > entities, delta_t dt)
auto init(rtti::context &ctx) -> bool
Initializes the rendering path with the given context.
void add_debugdraw_call(const std::function< void(gfx::dd_raii &dd)> &callback)
void on_frame_update(scene &scn, delta_t dt)
Prepares the scene for rendering.
void on_frame_before_render(scene &scn, delta_t dt)
rendering_system()=default
void on_frame_end(rtti::context &ctx, delta_t)
auto render_scene(scene &scn, delta_t dt) -> gfx::frame_buffer::ptr
Renders the scene and returns the frame buffer.
auto deinit(rtti::context &ctx) -> bool
Deinitializes the rendering path with the given context.
~rendering_system()=default
std::chrono::duration< float > delta_t
Represents a scene in the ACE framework, managing entities and their relationships.