ImageAtlasBuilder
Description
Builds images atlases.
An image atlas contains a number of independent images, possibly of different sizes, arranged in an efficient way. Padding may be used to avoid sampling artefacts (i.e. color-bleeding between images).
To build an image atlas, perform the following steps:
-
Create an ImageAtlasBuilder object.
-
Configure the Padding, PowerOfTwo and Trim properties, if necessary.
-
Add images with Image.
-
Build the image atlas with BuildColorBuffer.
-
Use one of the factory methods to create a wrapper object for the image atlas:
BuildIconAtlas.
- See also