TextureAtlas

Can be used to tightly store small images in big atlas, such as font glyps, or lightmaps etc.

Constructors

this
this(uint size)
Undocumented in source.
this
this(uint width, uint height)
Undocumented in source.

Members

Functions

autoGrow
bool autoGrow(bool allowAutoGrow)

Sets grow policy.

autoGrow
bool autoGrow()

Returns grow policy.

getBitmap
Bitmap getBitmap()

Returns internal bitmap.

insert
uvec2 insert(uint width, uint height)

Meta