|
Aegis2D
Modular C++26 2D game engine for networked games
|
Run of consecutive sprites drawn with one texture on one layer: one draw call. More...
#include <aegis2d/render/sprite_batch.hpp>
Public Attributes | |
| TextureId | texture = no_texture |
| Texture of every sprite of the run. | |
| std::int32_t | layer = 0 |
| Layer of every sprite of the run. | |
| std::size_t | first = 0 |
| Index of the first sprite of the run, in the sorted sprites. | |
| std::size_t | count = 0 |
| Number of sprites in the run, at least 1. | |
Run of consecutive sprites drawn with one texture on one layer: one draw call.
| std::size_t aegis2d::render::SpriteBatch::count = 0 |
Number of sprites in the run, at least 1.
| std::size_t aegis2d::render::SpriteBatch::first = 0 |
Index of the first sprite of the run, in the sorted sprites.
| std::int32_t aegis2d::render::SpriteBatch::layer = 0 |
Layer of every sprite of the run.
| TextureId aegis2d::render::SpriteBatch::texture = no_texture |
Texture of every sprite of the run.