Class Texture3D

  • All Implemented Interfaces:
    Disposable

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

      • Texture3D

        public Texture3D​(int width,
                         int height,
                         int depth,
                         int glFormat,
                         int glInternalFormat,
                         int glType)
    • Method Detail

      • upload

        public void upload()
      • 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()
      • getNumManagedTextures3D

        public static int getNumManagedTextures3D()
        Returns:
        the number of managed Texture3D currently loaded