AUI Framework  develop
Cross-platform base for C++ UI apps
Loading...
Searching...
No Matches
Util::TexturePacker< T > Class Template Referenceabstract

Public Member Functions

virtual glm::vec4 insert (T &data)=0
 
void resize (T &data, dim size)
 

Protected Member Functions

glm::vec4 insert (T &data, dim width, dim height)
 
virtual void onResize (T &data, dim side)=0
 
virtual void onInsert (T &data, const dim &x, const dim &y)=0
 
- 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
 

The documentation for this class was generated from the following file:
Inheritance diagram for Util::TexturePacker< T >:
Collaboration diagram for Util::TexturePacker< T >: