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

      public static void depureTexture​(Texture texture, float float1)
    • getNextPowerOfTwo

      public static int getNextPowerOfTwo​(int int1)
    • getNextPowerOfTwoHW

      public static int getNextPowerOfTwoHW​(int int1)
    • getScreenShot

      public static Texture 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

      public static void saveBmpImage​(Texture texture, java.lang.String string)
    • saveImage

      public static void saveImage​(Texture texture, java.lang.String string, java.lang.String string2)
    • saveJpgImage

      public static void saveJpgImage​(Texture texture, java.lang.String string)
    • savePngImage

      public static void savePngImage​(Texture texture, java.lang.String string)
    • setSmoothImageState

      public static void setSmoothImageState​(boolean boolean1)