libdonut
2.3.2
Application framework for cross-platform game development in C++20
|
Information about a specific image in the spritesheet. More...
#include <donut/graphics/SpriteAtlas.hpp>
Public Attributes | |
vec2 | position {} |
Position of the image in the texture atlas, in texels. More... | |
vec2 | size {} |
Size of the image in the texture atlas, in texels. More... | |
Flip | flip = NO_FLIP |
Flags that describe how the sprite should be flipped when rendered. More... | |
Information about a specific image in the spritesheet.
vec2 donut::graphics::SpriteAtlas::Sprite::position {} |
Position of the image in the texture atlas, in texels.
vec2 donut::graphics::SpriteAtlas::Sprite::size {} |
Size of the image in the texture atlas, in texels.
Flags that describe how the sprite should be flipped when rendered.