Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
RenderFrameOverlay.cpp File Reference

The frame's screen-space overlay — one graph pass, no camera. More...

#include "./RenderFrame.hpp"
#include "../draw/ImmediateDraw.hpp"
#include "../../core/FrameProfiler.hpp"
#include "../../core/Hash.hpp"
#include <glm/gtc/type_ptr.hpp>
#include "../../core/Log.hpp"
#include "../../ecs/components/ParticleEmitter.hpp"
#include "../../resource/ResourceManager.hpp"
#include <algorithm>
#include <unordered_map>
Include dependency graph for RenderFrameOverlay.cpp:

Go to the source code of this file.

Namespaces

namespace  esengine

Detailed Description

The frame's screen-space overlay — one graph pass, no camera.

The geometry is already in the layout domain when it arrives here (UILayoutSystem places screen roots in pixels about the origin); this pass says only how that domain reaches the framebuffer, and it is TOLD — the projection is an input, so no camera can leak in.

It runs inside the RenderGraph like every other pass. Drawing after graph_.execute() would be simpler and would break the one rule that keeps this renderer explicable: the graph is the whole frame.

Definition in file RenderFrameOverlay.cpp.