|
libgdx API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.badlogic.gdx.graphics.glutils.MipMapGenerator
public class MipMapGenerator
Constructor Summary | |
---|---|
MipMapGenerator()
|
Method Summary | |
---|---|
static void |
generateMipMap(Pixmap pixmap,
int textureWidth,
int textureHeight,
boolean disposePixmap)
Sets the image data of the Texture based on the Pixmap . |
static void |
setUseHardwareMipMap(boolean useHWMipMap)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MipMapGenerator()
Method Detail |
---|
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
|
libgdx API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |