AUI Framework  master
Cross-platform module-based framework for developing C++20 desktop applications
Util::SimpleTexturePacker Class Reference

Public Member Functions

glm::vec4 insert (AImage &data) override
 
 SimpleTexturePacker (const SimpleTexturePacker &)=delete
 
AOptional< AImage > & getImage ()
 
- Public Member Functions inherited from Util::TexturePacker< AImage >
void resize (AImage &data, dim size)
 

Protected Member Functions

void onResize (AImage &data, dim side) override
 
void onInsert (AImage &data, const dim &x, const dim &y) override
 
- Protected Member Functions inherited from Util::TexturePacker< AImage >
glm::vec4 insert (AImage &data, dim width, dim height)
 
- Protected Member Functions inherited from Util::TexturePacker_Lol
bool noCollision (const Rect &r)
 
bool check (Rect &res, Rect r)
 
bool allocateRect (Rect &r, dim width, dim height)
 

Additional Inherited Members

- Protected Attributes inherited from Util::TexturePacker_Lol
dim side
 
AVector< RectmRects
 

Member Function Documentation

◆ insert()

glm::vec4 Util::SimpleTexturePacker::insert ( AImage &  data)
overridevirtual

◆ onInsert()

void Util::SimpleTexturePacker::onInsert ( AImage &  data,
const dim &  x,
const dim &  y 
)
overrideprotectedvirtual

◆ onResize()

void Util::SimpleTexturePacker::onResize ( AImage &  data,
Util::dim  side 
)
overrideprotectedvirtual

The documentation for this class was generated from the following files:
Inheritance diagram for Util::SimpleTexturePacker:
Collaboration diagram for Util::SimpleTexturePacker: