public class MipMapGenerator
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
generateMipMap(int target,
Pixmap pixmap,
int textureWidth,
int textureHeight)
|
static void |
generateMipMap(Pixmap pixmap,
int textureWidth,
int textureHeight)
|
static void |
setUseHardwareMipMap(boolean useHWMipMap) |
public static void setUseHardwareMipMap(boolean useHWMipMap)
public static void generateMipMap(Pixmap pixmap, int textureWidth, int textureHeight)
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 Pixmappublic static void generateMipMap(int target,
Pixmap pixmap,
int textureWidth,
int textureHeight)