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

Base class for render-type plugins that emit textured quads into the Batch stream. More...

#include "../RenderTypePlugin.hpp"
#include "../draw/BatchBuilder.hpp"
#include "../draw/BatchVertex.hpp"
#include <glm/glm.hpp>
Include dependency graph for BatchPlugin.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  esengine::BatchPlugin

Namespaces

namespace  esengine

Detailed Description

Base class for render-type plugins that emit textured quads into the Batch stream.

Sprite and UI rendering build the same rotated/unrotated quad and the same 3x3 nine-slice grid; only their pivot convention, border source type, and RenderType differ. This base owns the shared geometry construction (parameterized over those differences) and the batch shader id, leaving each plugin only its ECS query and per-entity attribute resolution. Submission goes through BatchBuilder, so there is one quad-emitting path for the renderer keystone to target.

Author
ESEngine Team
Date
2026

Definition in file BatchPlugin.hpp.