Class DDSHeader
java.lang.Object
com.twelvemonkeys.imageio.plugins.dds.DDSHeader
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate intprivate intprivate Dimension[]private intprivate intprivate intprivate intprivate intprivate int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddDimensions(int width, int height) (package private) int(package private) int(package private) intprivate booleangetFlag(int mask) (package private) int(package private) int(package private) intgetHeight(int imageIndex) (package private) int(package private) int(package private) int(package private) intgetWidth(int imageIndex) (package private) static DDSHeaderread(ImageInputStream imageInput)
-
Field Details
-
flags
private int flags -
mipMapCount
private int mipMapCount -
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 Details
-
DDSHeader
DDSHeader()
-
-
Method Details
-
read
- Throws:
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()
-