Region within the atlas texture. More...
#include <texture_atlas.h>
Public Attributes | |
int | x = 0 |
int | y = 0 |
int | width = 0 |
int | height = 0 |
int | source_id = -1 |
bool | in_use = false |
Region within the atlas texture.
Definition at line 38 of file texture_atlas.h.
int yaze::gfx::TextureAtlas::AtlasRegion::x = 0 |
Definition at line 39 of file texture_atlas.h.
Referenced by yaze::gfx::TextureAtlas::AllocateRegion(), and yaze::gfx::TextureAtlas::PackBitmap().
int yaze::gfx::TextureAtlas::AtlasRegion::y = 0 |
Definition at line 40 of file texture_atlas.h.
Referenced by yaze::gfx::TextureAtlas::AllocateRegion(), and yaze::gfx::TextureAtlas::PackBitmap().
int yaze::gfx::TextureAtlas::AtlasRegion::width = 0 |
Definition at line 41 of file texture_atlas.h.
Referenced by yaze::gfx::TextureAtlas::AllocateRegion(), and yaze::gfx::TextureAtlas::PackBitmap().
int yaze::gfx::TextureAtlas::AtlasRegion::height = 0 |
Definition at line 42 of file texture_atlas.h.
Referenced by yaze::gfx::TextureAtlas::AllocateRegion(), and yaze::gfx::TextureAtlas::PackBitmap().
int yaze::gfx::TextureAtlas::AtlasRegion::source_id = -1 |
Definition at line 43 of file texture_atlas.h.
Referenced by yaze::gfx::TextureAtlas::AllocateRegion(), and yaze::gfx::TextureAtlas::PackBitmap().
bool yaze::gfx::TextureAtlas::AtlasRegion::in_use = false |
Definition at line 44 of file texture_atlas.h.
Referenced by yaze::gfx::TextureAtlas::AllocateRegion(), and yaze::gfx::TextureAtlas::PackBitmap().