Package com.toxicrain.rainengine.texture
Class TextureAtlas
java.lang.Object
com.toxicrain.rainengine.texture.TextureAtlas
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
buildAtlas
(String directory) void
saveAtlasAsImage
(String filePath) Saves the current texture atlas to an image file.
-
Constructor Details
-
TextureAtlas
public TextureAtlas(int atlasSize)
-
-
Method Details
-
buildAtlas
-
getRegion
-
saveAtlasAsImage
Saves the current texture atlas to an image file.- Parameters:
filePath
- the path to save the image.
-