public interface PixelInputOutput
| Modifier and Type | Method and Description |
|---|---|
void |
read(com.jme3.texture.Image image,
int layer,
TexturePixel pixel,
int index)
This method reads a pixel that starts at the given index.
|
void |
read(com.jme3.texture.Image image,
int layer,
TexturePixel pixel,
int x,
int y)
This method reads a pixel that is located at the given position on the
image.
|
void |
write(com.jme3.texture.Image image,
int layer,
TexturePixel pixel,
int index)
This method writes a pixel that starts at the given index.
|
void |
write(com.jme3.texture.Image image,
int layer,
TexturePixel pixel,
int x,
int y)
This method writes a pixel that is located at the given position on the
image.
|
void read(com.jme3.texture.Image image,
int layer,
TexturePixel pixel,
int index)
image - the image we read pixel frompixel - the pixel where the result is storedindex - the index where the pixel begins in the image datavoid read(com.jme3.texture.Image image,
int layer,
TexturePixel pixel,
int x,
int y)
image - the image we read pixel frompixel - the pixel where the result is storedx - the X coordinate of the pixely - the Y coordinate of the pixelvoid write(com.jme3.texture.Image image,
int layer,
TexturePixel pixel,
int index)
image - the image we read pixel frompixel - the pixel where the result is storedindex - the index where the pixel begins in the image datavoid write(com.jme3.texture.Image image,
int layer,
TexturePixel pixel,
int x,
int y)
image - the image we read pixel frompixel - the pixel where the result is storedx - the X coordinate of the pixely - the Y coordinate of the pixel