com.jme.image
Enum Image.Format

java.lang.Object
  extended by java.lang.Enum<Image.Format>
      extended by com.jme.image.Image.Format
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Image.Format>
Enclosing class:
Image

public static enum Image.Format
extends java.lang.Enum<Image.Format>


Enum Constant Summary
Alpha12
          12 bit alpha only format - often forced to 8bit or 16bit by the card
Alpha16
          16 bit alpha only format - older cards will often use 8bit instead.
Alpha16F
          16 bit float, alpha only format
Alpha32F
          16 bit float, alpha only format
Alpha4
          4 bit alpha only format - usually forced to 8bit by the card
Alpha8
          8 bit alpha only format
Depth16
          16 bit depth component format
Depth24
          24 bit depth component format
Depth32
          32 bit depth component format - often stored in Depth24 format by the card.
Guess
          When used in texture loading, this indicates to let jME guess the format.
GuessNoCompression
          When used in texture loading, this indicates to let jME guess the format, but not to use S3TC compression, even if available.
Intensity12
          12 bit intensity only format - often forced to 8bit or 16bit by the card
Intensity16
          16 bit intensity only format - older cards will often use 8bit instead.
Intensity16F
          16 bit float, intensity only format
Intensity32F
          32 bit float, intensity only format
Intensity4
          4 bit intensity only format - usually forced to 8bit by the card
Intensity8
          8 bit intensity only format
Luminance12
          12 bit luminance only format - often forced to 8bit or 16bit by the card
Luminance12Alpha12
          12 bit luminance, 12 bit alpha format
Luminance12Alpha4
          12 bit luminance, 4 bit alpha format
Luminance16
          16 bit luminance only format - older cards will often use 8bit instead.
Luminance16Alpha16
          16 bit luminance, 16 bit alpha format
Luminance16F
          16 bit float, luminance only format
Luminance32F
          32 bit float, luminance only format
Luminance4
          4 bit luminance only format - usually forced to 8bit by the card
Luminance4Alpha4
          4 bit luminance, 4 bit alpha format
Luminance6Alpha2
          6 bit luminance, 2 bit alpha format
Luminance8
          8 bit luminance only format
Luminance8Alpha8
          8 bit luminance, 8 bit alpha format
LuminanceAlpha16F
          16 bit float per luminance and alpha
LuminanceAlpha32F
          32 bit float per luminance and alpha
NativeDXT1
          Image data already in DXT1 format.
NativeDXT1A
          Image data already in DXT1 (with Alpha) format.
NativeDXT3
          Image data already in DXT3 format.
NativeDXT5
          Image data already in DXT5 format.
R3G3B2
          3 bit red, 3 bit green, 3 bit blue - often forced to 16 bit by the card
RGB_TO_DXT1
          8 bits per red, green and blue.
RGB10
          10 bits per red, green and blue - usually falls back to 8 bits on the card
RGB10A2
          10 bits per red, green and blue.
RGB12
          12 bits per red, green and blue - usually falls back to 8 bits on the card
RGB16
          16 bits per red, green and blue - usually falls back to 8 bits on the card
RGB16F
          16 bit float per red, green and blue
RGB32F
          32 bit float per red, green and blue
RGB4
          4 bits per red, green and blue
RGB5
          5 bits per red, green and blue
RGB5A1
          5 bits per red, green and blue.
RGB8
          8 bits per red, green and blue
RGBA_TO_DXT1
          8 bits per red, green, blue and alpha.
RGBA_TO_DXT3
          8 bits per red, green, blue and alpha.
RGBA_TO_DXT5
          8 bits per red, green, blue and alpha.
RGBA12
          12 bits per red, green, blue and alpha - often forced to RGBA8 by the card
RGBA16
          16 bits per red, green, blue and alpha - often forced to RGBA8 by the card
RGBA16F
          16 bit float per red, green, blue and alpha
RGBA2
          2 bits per red, green, blue and alpha - often forced to RGBA4 by the card
RGBA32F
          32 bit float per red, green, blue and alpha
RGBA4
          4 bits per red, green, blue and alpha
RGBA8
          8 bits per red, green, blue and alpha
 
Method Summary
static Image.Format valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Image.Format[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Guess

public static final Image.Format Guess
When used in texture loading, this indicates to let jME guess the format. jME will use S3TC compression, if available.


GuessNoCompression

public static final Image.Format GuessNoCompression
When used in texture loading, this indicates to let jME guess the format, but not to use S3TC compression, even if available.


Alpha4

public static final Image.Format Alpha4
4 bit alpha only format - usually forced to 8bit by the card


Alpha8

public static final Image.Format Alpha8
8 bit alpha only format


Alpha12

public static final Image.Format Alpha12
12 bit alpha only format - often forced to 8bit or 16bit by the card


Alpha16

public static final Image.Format Alpha16
16 bit alpha only format - older cards will often use 8bit instead.


Luminance4

public static final Image.Format Luminance4
4 bit luminance only format - usually forced to 8bit by the card


Luminance8

public static final Image.Format Luminance8
8 bit luminance only format


Luminance12

public static final Image.Format Luminance12
12 bit luminance only format - often forced to 8bit or 16bit by the card


Luminance16

public static final Image.Format Luminance16
16 bit luminance only format - older cards will often use 8bit instead.


Luminance4Alpha4

public static final Image.Format Luminance4Alpha4
4 bit luminance, 4 bit alpha format


Luminance6Alpha2

public static final Image.Format Luminance6Alpha2
6 bit luminance, 2 bit alpha format


Luminance8Alpha8

public static final Image.Format Luminance8Alpha8
8 bit luminance, 8 bit alpha format


Luminance12Alpha4

public static final Image.Format Luminance12Alpha4
12 bit luminance, 4 bit alpha format


Luminance12Alpha12

public static final Image.Format Luminance12Alpha12
12 bit luminance, 12 bit alpha format


Luminance16Alpha16

public static final Image.Format Luminance16Alpha16
16 bit luminance, 16 bit alpha format


Intensity4

public static final Image.Format Intensity4
4 bit intensity only format - usually forced to 8bit by the card


Intensity8

public static final Image.Format Intensity8
8 bit intensity only format


Intensity12

public static final Image.Format Intensity12
12 bit intensity only format - often forced to 8bit or 16bit by the card


Intensity16

public static final Image.Format Intensity16
16 bit intensity only format - older cards will often use 8bit instead.


R3G3B2

public static final Image.Format R3G3B2
3 bit red, 3 bit green, 3 bit blue - often forced to 16 bit by the card


RGB4

public static final Image.Format RGB4
4 bits per red, green and blue


RGB5

public static final Image.Format RGB5
5 bits per red, green and blue


RGB8

public static final Image.Format RGB8
8 bits per red, green and blue


RGB10

public static final Image.Format RGB10
10 bits per red, green and blue - usually falls back to 8 bits on the card


RGB12

public static final Image.Format RGB12
12 bits per red, green and blue - usually falls back to 8 bits on the card


RGB16

public static final Image.Format RGB16
16 bits per red, green and blue - usually falls back to 8 bits on the card


RGBA2

public static final Image.Format RGBA2
2 bits per red, green, blue and alpha - often forced to RGBA4 by the card


RGBA4

public static final Image.Format RGBA4
4 bits per red, green, blue and alpha


RGB5A1

public static final Image.Format RGB5A1
5 bits per red, green and blue. 1 bit of alpha


RGBA8

public static final Image.Format RGBA8
8 bits per red, green, blue and alpha


RGB10A2

public static final Image.Format RGB10A2
10 bits per red, green and blue. 2 bits of alpha - often forced to RGBA8 by the card


RGBA12

public static final Image.Format RGBA12
12 bits per red, green, blue and alpha - often forced to RGBA8 by the card


RGBA16

public static final Image.Format RGBA16
16 bits per red, green, blue and alpha - often forced to RGBA8 by the card


RGB_TO_DXT1

public static final Image.Format RGB_TO_DXT1
8 bits per red, green and blue. Compressed and stored by the card in DXT1 format.


RGBA_TO_DXT1

public static final Image.Format RGBA_TO_DXT1
8 bits per red, green, blue and alpha. Compressed and stored by the card in DXT1 format.


RGBA_TO_DXT3

public static final Image.Format RGBA_TO_DXT3
8 bits per red, green, blue and alpha. Compressed and stored by the card in DXT3 format.


RGBA_TO_DXT5

public static final Image.Format RGBA_TO_DXT5
8 bits per red, green, blue and alpha. Compressed and stored by the card in DXT5 format.


NativeDXT1

public static final Image.Format NativeDXT1
Image data already in DXT1 format.


NativeDXT1A

public static final Image.Format NativeDXT1A
Image data already in DXT1 (with Alpha) format.


NativeDXT3

public static final Image.Format NativeDXT3
Image data already in DXT3 format.


NativeDXT5

public static final Image.Format NativeDXT5
Image data already in DXT5 format.


Depth16

public static final Image.Format Depth16
16 bit depth component format


Depth24

public static final Image.Format Depth24
24 bit depth component format


Depth32

public static final Image.Format Depth32
32 bit depth component format - often stored in Depth24 format by the card.


RGB16F

public static final Image.Format RGB16F
16 bit float per red, green and blue


RGB32F

public static final Image.Format RGB32F
32 bit float per red, green and blue


RGBA16F

public static final Image.Format RGBA16F
16 bit float per red, green, blue and alpha


RGBA32F

public static final Image.Format RGBA32F
32 bit float per red, green, blue and alpha


Alpha16F

public static final Image.Format Alpha16F
16 bit float, alpha only format


Alpha32F

public static final Image.Format Alpha32F
16 bit float, alpha only format


Luminance16F

public static final Image.Format Luminance16F
16 bit float, luminance only format


Luminance32F

public static final Image.Format Luminance32F
32 bit float, luminance only format


LuminanceAlpha16F

public static final Image.Format LuminanceAlpha16F
16 bit float per luminance and alpha


LuminanceAlpha32F

public static final Image.Format LuminanceAlpha32F
32 bit float per luminance and alpha


Intensity16F

public static final Image.Format Intensity16F
16 bit float, intensity only format


Intensity32F

public static final Image.Format Intensity32F
32 bit float, intensity only format

Method Detail

values

public static Image.Format[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Image.Format c : Image.Format.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Image.Format valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null