Class MipMapGenerator

java.lang.Object
arc.graphics.gl.MipMapGenerator

public class MipMapGenerator extends Object
  • Method Details

    • setUseHardwareMipMap

      public static void setUseHardwareMipMap(boolean useHWMipMap)
    • generateMipMap

      public static void generateMipMap(Pixmap pixmap, int textureWidth, int textureHeight)
      Sets the image data of the Texture based on the Pixmap. The texture must be bound for this to work. If disposePixmap is true, the pixmap will be disposed at the end of the method.
      Parameters:
      pixmap - the Pixmap
    • generateMipMap

      public static void generateMipMap(int target, Pixmap pixmap, int textureWidth, int textureHeight)
      Sets the image data of the Texture based on the Pixmap. The texture must be bound for this to work. If disposePixmap is true, the pixmap will be disposed at the end of the method.