Class TextureArray

  • All Implemented Interfaces:
    Disposable

    public class TextureArray
    extends GLTexture
    Open GLES wrapper for TextureArray
    • Constructor Detail

      • TextureArray

        public TextureArray​(java.lang.String... internalPaths)
      • TextureArray

        public TextureArray​(FileHandle... files)
      • TextureArray

        public TextureArray​(boolean useMipMaps,
                            FileHandle... files)
    • Method Detail

      • getWidth

        public int getWidth()
        Specified by:
        getWidth in class GLTexture
        Returns:
        the width of the texture in pixels
      • getHeight

        public int getHeight()
        Specified by:
        getHeight in class GLTexture
        Returns:
        the height of the texture in pixels
      • getDepth

        public int getDepth()
        Specified by:
        getDepth in class GLTexture
        Returns:
        the depth of the texture in pixels
      • isManaged

        public boolean isManaged()
        Specified by:
        isManaged in class GLTexture
        Returns:
        whether this texture is managed or not.
      • reload

        protected void reload()
        Specified by:
        reload in class GLTexture
      • 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