jme3tools.converters
クラス ImageToAwt
java.lang.Object
jme3tools.converters.ImageToAwt
public class ImageToAwt
- extends java.lang.Object
メソッドの概要 |
static void |
convert(java.awt.image.BufferedImage image,
Image.Format format,
java.nio.ByteBuffer buf)
Convert an AWT image to jME image. |
static java.awt.image.BufferedImage |
convert(Image image,
boolean do16bit,
boolean fullalpha,
int mipLevel)
|
static void |
convert(Image input,
Image output)
Convert the image from the given format to the output format. |
static void |
createData(Image image,
boolean mipmaps)
|
クラス java.lang.Object から継承されたメソッド |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageToAwt
public ImageToAwt()
convert
public static void convert(java.awt.image.BufferedImage image,
Image.Format format,
java.nio.ByteBuffer buf)
- Convert an AWT image to jME image.
createData
public static void createData(Image image,
boolean mipmaps)
convert
public static void convert(Image input,
Image output)
- Convert the image from the given format to the output format.
It is assumed that both images have buffers with the appropriate
number of elements and that both have the same dimensions.
- パラメータ:
input
- output
-
convert
public static java.awt.image.BufferedImage convert(Image image,
boolean do16bit,
boolean fullalpha,
int mipLevel)