Public Member Functions | |
AtlasEntry (int id, const SDL_Rect &rect, TextureHandle tex, BppFormat bpp=BppFormat::kBpp8, int width=0, int height=0) | |
Public Attributes | |
int | atlas_id |
SDL_Rect | uv_rect |
TextureHandle | texture |
bool | in_use |
BppFormat | bpp_format |
int | original_width |
int | original_height |
Definition at line 164 of file atlas_renderer.h.
|
inline |
Definition at line 173 of file atlas_renderer.h.
int yaze::gfx::AtlasRenderer::AtlasEntry::atlas_id |
Definition at line 165 of file atlas_renderer.h.
SDL_Rect yaze::gfx::AtlasRenderer::AtlasEntry::uv_rect |
Definition at line 166 of file atlas_renderer.h.
Referenced by yaze::gfx::AtlasRenderer::RenderBatch(), yaze::gfx::AtlasRenderer::RenderBatchWithBppOptimization(), yaze::gfx::AtlasRenderer::RenderBitmap(), and yaze::gfx::AtlasRenderer::UpdateBitmap().
TextureHandle yaze::gfx::AtlasRenderer::AtlasEntry::texture |
Definition at line 167 of file atlas_renderer.h.
Referenced by yaze::gfx::AtlasRenderer::UpdateBitmap().
bool yaze::gfx::AtlasRenderer::AtlasEntry::in_use |
Definition at line 168 of file atlas_renderer.h.
Referenced by yaze::gfx::AtlasRenderer::RemoveBitmap().
BppFormat yaze::gfx::AtlasRenderer::AtlasEntry::bpp_format |
Definition at line 169 of file atlas_renderer.h.
int yaze::gfx::AtlasRenderer::AtlasEntry::original_width |
Definition at line 170 of file atlas_renderer.h.
int yaze::gfx::AtlasRenderer::AtlasEntry::original_height |
Definition at line 171 of file atlas_renderer.h.