Package zombie.core.utils
Class ImageUtils
java.lang.Object
zombie.core.utils.ImageUtils
public class ImageUtils
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description static boolean
USE_MIPMAP
-
Method Summary
Modifier and Type Method Description static void
depureTexture(Texture texture, float float1)
static int
getNextPowerOfTwo(int int1)
static int
getNextPowerOfTwoHW(int int1)
static Texture
getScreenShot()
static java.nio.ByteBuffer
makeTransp(java.nio.ByteBuffer byteBuffer, int int1, int int2, int int3, int int4, int int5)
static java.nio.ByteBuffer
makeTransp(java.nio.ByteBuffer byteBuffer, int int1, int int2, int int3, int int4, int int5, int int6)
static void
saveBmpImage(Texture texture, java.lang.String string)
static void
saveImage(Texture texture, java.lang.String string, java.lang.String string2)
static void
saveJpgImage(Texture texture, java.lang.String string)
static void
savePngImage(Texture texture, java.lang.String string)
static void
setSmoothImageState(boolean boolean1)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
USE_MIPMAP
public static boolean USE_MIPMAP
-
-
Method Details
-
depureTexture
-
getNextPowerOfTwo
public static int getNextPowerOfTwo(int int1) -
getNextPowerOfTwoHW
public static int getNextPowerOfTwoHW(int int1) -
getScreenShot
-
makeTransp
public static java.nio.ByteBuffer makeTransp(java.nio.ByteBuffer byteBuffer, int int1, int int2, int int3, int int4, int int5) -
makeTransp
public static java.nio.ByteBuffer makeTransp(java.nio.ByteBuffer byteBuffer, int int1, int int2, int int3, int int4, int int5, int int6) -
saveBmpImage
-
saveImage
-
saveJpgImage
-
savePngImage
-
setSmoothImageState
public static void setSmoothImageState(boolean boolean1)
-