Skip to content

File Renderer.hpp

File List > Core > Renderer.hpp

Go to the documentation of this file

#ifndef ENGINE_CORE_RENDERER_HPP_
#define ENGINE_CORE_RENDERER_HPP_

#include "ECS/Registry.hpp"
#include <functional>
#include <optional>
#include <raylib-cpp.hpp>

namespace Engine {
void RenderScene(Registry& registry, float viewportWidth, float viewportHeight,
                 const std::function<void()>& worldOverlay = nullptr,
                 std::optional<Camera2D> cameraOverride = std::nullopt,
                 std::optional<Camera2D> screenCameraOverride = std::nullopt);
} // namespace Engine

#endif // ENGINE_CORE_RENDERER_HPP_