yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::gfx::AtlasRenderer::AtlasEntry Struct Reference

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
 

Detailed Description

Definition at line 164 of file atlas_renderer.h.

Constructor & Destructor Documentation

◆ AtlasEntry()

yaze::gfx::AtlasRenderer::AtlasEntry::AtlasEntry ( int  id,
const SDL_Rect &  rect,
TextureHandle  tex,
BppFormat  bpp = BppFormat::kBpp8,
int  width = 0,
int  height = 0 
)
inline

Definition at line 173 of file atlas_renderer.h.

Member Data Documentation

◆ atlas_id

int yaze::gfx::AtlasRenderer::AtlasEntry::atlas_id

Definition at line 165 of file atlas_renderer.h.

◆ uv_rect

◆ texture

TextureHandle yaze::gfx::AtlasRenderer::AtlasEntry::texture

Definition at line 167 of file atlas_renderer.h.

Referenced by yaze::gfx::AtlasRenderer::UpdateBitmap().

◆ in_use

bool yaze::gfx::AtlasRenderer::AtlasEntry::in_use

Definition at line 168 of file atlas_renderer.h.

Referenced by yaze::gfx::AtlasRenderer::RemoveBitmap().

◆ bpp_format

BppFormat yaze::gfx::AtlasRenderer::AtlasEntry::bpp_format

Definition at line 169 of file atlas_renderer.h.

◆ original_width

int yaze::gfx::AtlasRenderer::AtlasEntry::original_width

Definition at line 170 of file atlas_renderer.h.

◆ original_height

int yaze::gfx::AtlasRenderer::AtlasEntry::original_height

Definition at line 171 of file atlas_renderer.h.


The documentation for this struct was generated from the following file: