Class DDSHeader


  • final class DDSHeader
    extends java.lang.Object
    • Field Detail

      • flags

        private int flags
      • mipMapCount

        private int mipMapCount
      • dimensions

        private java.awt.Dimension[] dimensions
      • pixelFormatFlags

        private int pixelFormatFlags
      • fourCC

        private int fourCC
      • bitCount

        private int bitCount
      • redMask

        private int redMask
      • greenMask

        private int greenMask
      • blueMask

        private int blueMask
      • alphaMask

        private int alphaMask
    • Constructor Detail

      • DDSHeader

        DDSHeader()
    • Method Detail

      • read

        static DDSHeader read​(javax.imageio.stream.ImageInputStream imageInput)
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • addDimensions

        private void addDimensions​(int width,
                                   int height)
      • getFlag

        private boolean getFlag​(int mask)
      • getWidth

        int getWidth​(int imageIndex)
      • getHeight

        int getHeight​(int imageIndex)
      • getMipMapCount

        int getMipMapCount()
      • getBitCount

        int getBitCount()
      • getFourCC

        int getFourCC()
      • getPixelFormatFlags

        int getPixelFormatFlags()
      • getRedMask

        int getRedMask()
      • getGreenMask

        int getGreenMask()
      • getBlueMask

        int getBlueMask()
      • getAlphaMask

        int getAlphaMask()