Package arc.graphics.gl
Class MipMapGenerator
java.lang.Object
arc.graphics.gl.MipMapGenerator
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
generateMipMap
(int target, Pixmap pixmap, int textureWidth, int textureHeight) static void
generateMipMap
(Pixmap pixmap, int textureWidth, int textureHeight) static void
setUseHardwareMipMap
(boolean useHWMipMap)
-
Method Details
-
setUseHardwareMipMap
public static void setUseHardwareMipMap(boolean useHWMipMap) -
generateMipMap
Sets the image data of theTexture
based on thePixmap
. The texture must be bound for this to work. IfdisposePixmap
is true, the pixmap will be disposed at the end of the method.- Parameters:
pixmap
- the Pixmap
-
generateMipMap
-