Interface ITexture1D

  • All Superinterfaces:
    java.lang.AutoCloseable, java.io.Closeable, ITextureUnit

    public interface ITexture1D
    extends ITextureUnit
    1D texture
    • Method Detail

      • load

        void load​(TextureData bitmap)
        Load texture content from specified Bitmap
        Parameters:
        bitmap -
      • save

        void save​(java.lang.String path,
                  java.lang.String format)
           throws java.io.IOException
        Save the texture content to external file.
        Parameters:
        path - File name to save.
        format - Image format
        Throws:
        java.io.IOException
      • save

        void save​(java.awt.image.BufferedImage bitmap)
        Save the texture content to external file.
        Parameters:
        bitmap - Result bitmap to save.
      • toBitmap

        java.awt.image.BufferedImage toBitmap()
        Convert the texture unit to BufferedImage instance