Package | Description |
---|---|
de.lessvoid.nifty.batch | |
de.lessvoid.nifty.batch.spi |
Constructor and Description |
---|
BatchRenderImage(BatchRenderBackend.Image image,
TextureAtlasGenerator generator,
String filename,
BatchRenderBackend renderBackend) |
Modifier and Type | Method and Description |
---|---|
BatchRenderBackend.Image |
BatchRenderBackend.loadImage(String filename)
Load the given image and provide width and height of the image using the Image interface defined at the bottom.
|
Modifier and Type | Method and Description |
---|---|
void |
BatchRenderBackend.addImageToTexture(BatchRenderBackend.Image image,
int x,
int y)
Adds the given image to the main texture atlas at the given position.
|
void |
BatchRenderBackend.removeFromTexture(BatchRenderBackend.Image image,
int x,
int y,
int w,
int h)
Remove the image from the texture atlas.
|
Copyright © 2013. All Rights Reserved.