|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
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>

Go to the source code of this file.
Classes | |
| class | esengine::BatchPlugin |
Namespaces | |
| namespace | esengine |
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.
Definition in file BatchPlugin.hpp.