|
Aegis2D
Modular C++26 2D game engine for networked games
|
Backend-independent renderer interface and the sprite it draws. More...
#include <aegis2d/core/math.hpp>#include <aegis2d/render/color.hpp>#include <aegis2d/render/export.hpp>#include <aegis2d/render/image.hpp>#include <cstddef>#include <cstdint>#include <optional>Go to the source code of this file.
Classes | |
| struct | aegis2d::render::Rect |
| Axis-aligned rectangle. More... | |
| struct | aegis2d::render::TextureSize |
| Width and height of a texture, in pixels. More... | |
| struct | aegis2d::render::Sprite |
| One textured quad to draw. More... | |
| struct | aegis2d::render::FrameStats |
| Counters of the last finished frame. More... | |
| class | aegis2d::render::IRenderer |
| What the game draws with, whatever the graphics API behind it. More... | |
Namespaces | |
| namespace | aegis2d |
| Root namespace of the engine. | |
| namespace | aegis2d::render |
| OpenGL renderer: sprites, text and camera (client only). | |
Typedefs | |
| using | aegis2d::render::Vec2 = aegis2d::Vec2 |
| 2D vector of floats, in logical pixels: the engine-wide aegis2d::Vec2. | |
| using | aegis2d::render::TextureId = std::uint32_t |
| Identifier of a texture loaded by the resource manager. | |
Variables | |
| constexpr TextureId | aegis2d::render::no_texture = 0 |
| Texture identifier meaning "no texture": the sprite is a plain tinted rectangle. | |
Backend-independent renderer interface and the sprite it draws.