|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.opengl.util.texture.spi.TGAImage.Header
This class reads in all of the TGA image header in addition it also reads in the imageID field as it is convenient to handle that here.
Field Summary | |
static int |
BLACKWHITE
|
static int |
COLORMAPPED
|
static int |
I_FOURWAY
|
static int |
I_NOTINTERLEAVED
Field image descriptor / interleave values |
static int |
I_TWOWAY
|
static int |
ID_ATTRIBPERPIXEL
Field image descriptor bitfield values definitions |
static int |
ID_INTERLEAVE
|
static int |
ID_RIGHTTOLEFT
|
static int |
ID_TOPTOBOTTOM
|
static int |
NO_IMAGE
Set of possible image types in TGA file |
static int |
TRUECOLOR
|
static int |
TYPE_NEW
Set of possible file format TGA types |
static int |
TYPE_OLD
|
static int |
TYPE_UNK
|
static int |
UBLACKWHITE
|
static int |
UCOLORMAPPED
|
static int |
UTRUECOLOR
|
Method Summary | |
byte |
attribPerPixel()
bitfields in imageDescriptor |
byte |
colorMapEntrySize()
|
int |
colorMapLength()
|
int |
colorMapType()
|
int |
firstEntryIndex()
TGA image colour map fields |
int |
height()
|
int |
idLength()
initial TGA image data fields |
byte |
imageDescriptor()
|
String |
imageID()
|
byte[] |
imageIDbuf()
|
int |
imageType()
|
byte |
interleave()
|
byte |
pixelDepth()
|
boolean |
rightToLeft()
|
int |
size()
|
int |
tgaType()
|
boolean |
topToBottom()
|
String |
toString()
|
int |
width()
|
int |
xOrigin()
TGA image specification fields |
int |
yOrigin()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int TYPE_NEW
public static final int TYPE_OLD
public static final int TYPE_UNK
public static final int NO_IMAGE
public static final int UCOLORMAPPED
public static final int UTRUECOLOR
public static final int UBLACKWHITE
public static final int COLORMAPPED
public static final int TRUECOLOR
public static final int BLACKWHITE
public static final int ID_ATTRIBPERPIXEL
public static final int ID_RIGHTTOLEFT
public static final int ID_TOPTOBOTTOM
public static final int ID_INTERLEAVE
public static final int I_NOTINTERLEAVED
public static final int I_TWOWAY
public static final int I_FOURWAY
Method Detail |
public int tgaType()
public int idLength()
public int colorMapType()
public int imageType()
public int firstEntryIndex()
public int colorMapLength()
public byte colorMapEntrySize()
public int xOrigin()
public int yOrigin()
public int width()
public int height()
public byte pixelDepth()
public byte imageDescriptor()
public byte attribPerPixel()
public boolean rightToLeft()
public boolean topToBottom()
public byte interleave()
public byte[] imageIDbuf()
public String imageID()
public String toString()
public int size()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |