public class MipMapGenerator
extends java.lang.Object
| Constructor and Description |
|---|
MipMapGenerator() |
| Modifier and Type | Method and Description |
|---|---|
static void |
generateMipMap(Pixmap pixmap,
int textureWidth,
int textureHeight,
boolean disposePixmap)
|
static void |
setUseHardwareMipMap(boolean useHWMipMap) |
public static void setUseHardwareMipMap(boolean useHWMipMap)
public static void generateMipMap(Pixmap pixmap, int textureWidth, int textureHeight, boolean disposePixmap)
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.pixmap - the PixmapdisposePixmap - whether to dispose the Pixmap after upload