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

Immediate mode 2D drawing API. More...

#include "../../core/Types.hpp"
#include "../../math/Math.hpp"
#include "../../resource/Handle.hpp"
#include "../rhi/PipelineState.hpp"
#include "../rhi/TransientBufferPool.hpp"
#include "./BatchVertex.hpp"
#include <glm/glm.hpp>
#include <string>
#include <vector>
#include <span>
Include dependency graph for ImmediateDraw.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  esengine::ImmediateDraw
 Immediate mode 2D drawing API. More...

Namespaces

namespace  esengine
namespace  esengine::resource

Detailed Description

Immediate mode 2D drawing API.

Provides simple, immediate mode drawing primitives (lines, rectangles, circles, polygons) with automatic batching for efficient rendering. All draw commands are cleared each frame.

Backed by the same TransientBufferPool + GfxDevice pipeline machinery as RenderFrame — there is no separate batch renderer.

Author
ESEngine Team
Date
2026

Definition in file ImmediateDraw.hpp.