Class DDSHeader
- java.lang.Object
-
- com.twelvemonkeys.imageio.plugins.dds.DDSHeader
-
final class DDSHeader extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private intalphaMaskprivate intbitCountprivate intblueMaskprivate java.awt.Dimension[]dimensionsprivate intflagsprivate intfourCCprivate intgreenMaskprivate intmipMapCountprivate intpixelFormatFlagsprivate intredMask
-
Constructor Summary
Constructors Constructor Description DDSHeader()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidaddDimensions(int width, int height)(package private) intgetAlphaMask()(package private) intgetBitCount()(package private) intgetBlueMask()private booleangetFlag(int mask)(package private) intgetFourCC()(package private) intgetGreenMask()(package private) intgetHeight(int imageIndex)(package private) intgetMipMapCount()(package private) intgetPixelFormatFlags()(package private) intgetRedMask()(package private) intgetWidth(int imageIndex)(package private) static DDSHeaderread(javax.imageio.stream.ImageInputStream imageInput)
-
-
-
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
-
-
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()
-
-