Class ImageUtils
java.lang.Object
zombie.core.utils.ImageUtils
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddepureTexture(Texture texture, float float0) static intgetNextPowerOfTwo(int int0) static intgetNextPowerOfTwoHW(int int0) static Texturestatic ByteBuffermakeTransp(ByteBuffer byteBuffer, int int0, int int1, int int2, int int3, int int4) static ByteBuffermakeTransp(ByteBuffer byteBuffer, int int6, int int5, int int4, int int7, int int3, int int1) static voidsaveBmpImage(Texture texture, String string) static voidstatic voidsaveJpgImage(Texture texture, String string) static voidsavePngImage(Texture texture, String string)
-
Field Details
-
USE_MIPMAP
public static boolean USE_MIPMAP
-
-
Method Details
-
depureTexture
-
getNextPowerOfTwo
public static int getNextPowerOfTwo(int int0) -
getNextPowerOfTwoHW
public static int getNextPowerOfTwoHW(int int0) -
getScreenShot
-
makeTransp
public static ByteBuffer makeTransp(ByteBuffer byteBuffer, int int0, int int1, int int2, int int3, int int4) -
makeTransp
public static ByteBuffer makeTransp(ByteBuffer byteBuffer, int int6, int int5, int int4, int int7, int int3, int int1) -
saveBmpImage
-
saveImage
-
saveJpgImage
-
savePngImage
-