Package com.badlogic.gdx.graphics
Class TextureArray
- java.lang.Object
-
- com.badlogic.gdx.graphics.GLTexture
-
- com.badlogic.gdx.graphics.TextureArray
-
- All Implemented Interfaces:
Disposable
public class TextureArray extends GLTexture
Open GLES wrapper for TextureArray
-
-
Constructor Summary
Constructors Constructor Description TextureArray(boolean useMipMaps, FileHandle... files)
TextureArray(boolean useMipMaps, Pixmap.Format format, FileHandle... files)
TextureArray(FileHandle... files)
TextureArray(TextureArrayData data)
TextureArray(java.lang.String... internalPaths)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
clearAllTextureArrays(Application app)
Clears all managed TextureArrays.int
getDepth()
int
getHeight()
static java.lang.String
getManagedStatus()
static int
getNumManagedTextureArrays()
int
getWidth()
static void
invalidateAllTextureArrays(Application app)
Invalidate all managed TextureArrays.boolean
isManaged()
protected void
reload()
-
Methods inherited from class com.badlogic.gdx.graphics.GLTexture
bind, bind, delete, dispose, getAnisotropicFilter, getMagFilter, getMaxAnisotropicFilterLevel, getMinFilter, getTextureObjectHandle, getUWrap, getVWrap, setAnisotropicFilter, setFilter, setWrap, unsafeSetAnisotropicFilter, unsafeSetAnisotropicFilter, unsafeSetFilter, unsafeSetFilter, unsafeSetWrap, unsafeSetWrap, uploadImageData, uploadImageData
-
-
-
-
Constructor Detail
-
TextureArray
public TextureArray(java.lang.String... internalPaths)
-
TextureArray
public TextureArray(FileHandle... files)
-
TextureArray
public TextureArray(boolean useMipMaps, FileHandle... files)
-
TextureArray
public TextureArray(boolean useMipMaps, Pixmap.Format format, FileHandle... files)
-
TextureArray
public TextureArray(TextureArrayData data)
-
-
Method Detail
-
getWidth
public int getWidth()
-
getHeight
public int getHeight()
-
getDepth
public int getDepth()
-
isManaged
public boolean isManaged()
-
clearAllTextureArrays
public static void clearAllTextureArrays(Application app)
Clears all managed TextureArrays. This is an internal method. Do not use it!
-
invalidateAllTextureArrays
public static void invalidateAllTextureArrays(Application app)
Invalidate all managed TextureArrays. This is an internal method. Do not use it!
-
getManagedStatus
public static java.lang.String getManagedStatus()
-
getNumManagedTextureArrays
public static int getNumManagedTextureArrays()
- Returns:
- the number of managed TextureArrays currently loaded
-
-