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 booleanUSE_MIPMAP -
Method Summary
Modifier and Type Method Description static voiddepureTexture(Texture texture, float float1)static intgetNextPowerOfTwo(int int1)static intgetNextPowerOfTwoHW(int int1)static TexturegetScreenShot()static java.nio.ByteBuffermakeTransp(java.nio.ByteBuffer byteBuffer, int int1, int int2, int int3, int int4, int int5)static java.nio.ByteBuffermakeTransp(java.nio.ByteBuffer byteBuffer, int int1, int int2, int int3, int int4, int int5, int int6)static voidsaveBmpImage(Texture texture, java.lang.String string)static voidsaveImage(Texture texture, java.lang.String string, java.lang.String string2)static voidsaveJpgImage(Texture texture, java.lang.String string)static voidsavePngImage(Texture texture, java.lang.String string)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
-