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 177 of file atlas_renderer.h.
|
inline |
Definition at line 186 of file atlas_renderer.h.
| int yaze::gfx::AtlasRenderer::AtlasEntry::atlas_id |
Definition at line 178 of file atlas_renderer.h.
| SDL_Rect yaze::gfx::AtlasRenderer::AtlasEntry::uv_rect |
Definition at line 179 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 180 of file atlas_renderer.h.
Referenced by yaze::gfx::AtlasRenderer::UpdateBitmap().
| bool yaze::gfx::AtlasRenderer::AtlasEntry::in_use |
Definition at line 181 of file atlas_renderer.h.
Referenced by yaze::gfx::AtlasRenderer::RemoveBitmap().
| BppFormat yaze::gfx::AtlasRenderer::AtlasEntry::bpp_format |
Definition at line 182 of file atlas_renderer.h.
| int yaze::gfx::AtlasRenderer::AtlasEntry::original_width |
Definition at line 183 of file atlas_renderer.h.
| int yaze::gfx::AtlasRenderer::AtlasEntry::original_height |
Definition at line 184 of file atlas_renderer.h.