|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Information about a specific image in the spritesheet. More...
#include <GREM/graphics/SpriteAtlas.hpp>
Public Attributes | |
| vec2 | position {} |
| Position of the image in the texture atlas, in texels. | |
| vec2 | size {} |
| Size of the image in the texture atlas, in texels. | |
| SpriteOptions::Flip | flip = SpriteOptions::NO_FLIP |
| Flags that describe how the sprite should be flipped when rendered. | |
Information about a specific image in the spritesheet.
| vec2 grem::graphics::SpriteAtlas::Sprite::position {} |
Position of the image in the texture atlas, in texels.
| vec2 grem::graphics::SpriteAtlas::Sprite::size {} |
Size of the image in the texture atlas, in texels.
| SpriteOptions::Flip grem::graphics::SpriteAtlas::Sprite::flip = SpriteOptions::NO_FLIP |
Flags that describe how the sprite should be flipped when rendered.