Class DDSImage.ImageInfo

  • Enclosing class:
    DDSImage

    public static class DDSImage.ImageInfo
    extends Object
    Simple class describing images and data; does not encapsulate image format information. User is responsible for transmitting that information in another way.
    • Constructor Detail

      • ImageInfo

        public ImageInfo​(ByteBuffer data,
                         int width,
                         int height,
                         boolean compressed,
                         int compressionFormat)
    • Method Detail

      • getWidth

        public int getWidth()
      • getHeight

        public int getHeight()
      • isCompressed

        public boolean isCompressed()
      • getCompressionFormat

        public int getCompressionFormat()