Package com.ardor3d.image
Enum Class TextureStoreFormat
- All Implemented Interfaces:
Serializable
,Comparable<TextureStoreFormat>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription12 bit alpha only format - often forced to 8bit or 16bit by the card16 bit alpha only format - older cards will often use 8bit instead.16 bit float, alpha only format16 bit float, alpha only format4 bit alpha only format - usually forced to 8bit by the card8 bit alpha only formatLuminance, potentially compressed and stored by the card.LuminanceAlpha, potentially compressed and stored by the card.RGB, potentially compressed and stored by the card.RGB, potentially compressed and stored by the card.RGB, potentially compressed and stored by the card.RGBA, potentially compressed and stored by the card.depth component format - let card choose bit size16 bit depth component format24 bit depth component format32 bit depth component format - often stored in Depth24 format by the card.Floating point depth format.When used in texture loading, this indicates to convert the image's data properties to its closest TextureStoreFormat compressed format.When used in texture loading, this indicates to convert the image's data properties to its closest TextureStoreFormat format.12 bit intensity only format - often forced to 8bit or 16bit by the card16 bit intensity only format - older cards will often use 8bit instead.16 bit float, intensity only format32 bit float, intensity only format4 bit intensity only format - usually forced to 8bit by the card8 bit intensity only format12 bit luminance only format - often forced to 8bit or 16bit by the card12 bit luminance, 12 bit alpha format12 bit luminance, 4 bit alpha format16 bit luminance only format - older cards will often use 8bit instead.16 bit luminance, 16 bit alpha format16 bit float, luminance only format32 bit float, luminance only format4 bit luminance only format - usually forced to 8bit by the card4 bit luminance, 4 bit alpha format6 bit luminance, 2 bit alpha format8 bit luminance only format8 bit luminance, 8 bit alpha format16 bit float per luminance and alpha32 bit float per luminance and alphaImage data already in DXT1 format.Image data already in DXT1 (with Alpha) format.Image data already in DXT3 format.Image data already in DXT5 format.Image data already in LATC format - Luminance onlyImage data already in LATC format - Luminance+Alpha16 bit, one-component format16 bit float, one-component format16 bit integer, one-component format16 bit unsigned integer, one-component format32 bit float, one-component format32 bit integer, one-component format32 bit unsigned integer, one-component format3 bit red, 3 bit green, 3 bit blue - often forced to 16 bit by the card8 bit, one-component format8 bit integer, one-component format8 bit unsigned integer, one-component format16 bit, two-component format16 bit float, two-component format16 bit integer, two-component format16 bit unsigned integer, two-component format32 bit float, two-component format.32 bit integer, two-component format32 bit unsigned integer, two-component format8 bit, two-component format8 bit integer, two-component format8 bit unsigned integer, two-component format10 bits per red, green and blue - usually falls back to 8 bits on the card10 bits per red, green and blue. 2 bits of alpha - often forced to RGBA8 by the card12 bits per red, green and blue - usually falls back to 8 bits on the card16 bits per red, green and blue - usually falls back to 8 bits on the card16 bit float per red, green and blue32 bit float per red, green and blue4 bits per red, green and blue5 bits per red, green and blue5 bits per red, green and blue. 1 bit of alpha8 bits per red, green and blue12 bits per red, green, blue and alpha - often forced to RGBA8 by the card16 bits per red, green, blue and alpha - often forced to RGBA8 by the card16 bit float per red, green, blue and alpha2 bits per red, green, blue and alpha - often forced to RGBA4 by the card32 bit float per red, green, blue and alpha4 bits per red, green, blue and alpha8 bits per red, green, blue and alpha -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
static TextureStoreFormat
Returns the enum constant of this class with the specified name.static TextureStoreFormat[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GuessCompressedFormat
When used in texture loading, this indicates to convert the image's data properties to its closest TextureStoreFormat compressed format. -
GuessNoCompressedFormat
When used in texture loading, this indicates to convert the image's data properties to its closest TextureStoreFormat format. -
Alpha4
4 bit alpha only format - usually forced to 8bit by the card -
Alpha8
8 bit alpha only format -
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. -
Luminance4
4 bit luminance only format - usually forced to 8bit by the card -
Luminance8
8 bit luminance only format -
Luminance12
12 bit luminance only format - often forced to 8bit or 16bit by the card -
Luminance16
16 bit luminance only format - older cards will often use 8bit instead. -
Luminance4Alpha4
4 bit luminance, 4 bit alpha format -
Luminance6Alpha2
6 bit luminance, 2 bit alpha format -
Luminance8Alpha8
8 bit luminance, 8 bit alpha format -
Luminance12Alpha4
12 bit luminance, 4 bit alpha format -
Luminance12Alpha12
12 bit luminance, 12 bit alpha format -
Luminance16Alpha16
16 bit luminance, 16 bit alpha format -
Intensity4
4 bit intensity only format - usually forced to 8bit by the card -
Intensity8
8 bit intensity only format -
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. -
R3G3B2
3 bit red, 3 bit green, 3 bit blue - often forced to 16 bit by the card -
RGB4
4 bits per red, green and blue -
RGB5
5 bits per red, green and blue -
RGB8
8 bits per red, green and blue -
RGB10
10 bits per red, green and blue - usually falls back to 8 bits on the card -
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 -
RGBA2
2 bits per red, green, blue and alpha - often forced to RGBA4 by the card -
RGBA4
4 bits per red, green, blue and alpha -
RGB5A1
5 bits per red, green and blue. 1 bit of alpha -
RGBA8
8 bits per red, green, blue and alpha -
RGB10A2
10 bits per red, green and blue. 2 bits of alpha - often forced to RGBA8 by the card -
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 -
CompressedRed
RGB, potentially compressed and stored by the card. -
CompressedRG
RGB, potentially compressed and stored by the card. -
CompressedRGB
RGB, potentially compressed and stored by the card. -
CompressedRGBA
RGBA, potentially compressed and stored by the card. -
CompressedLuminance
Luminance, potentially compressed and stored by the card. -
CompressedLuminanceAlpha
LuminanceAlpha, potentially compressed and stored by the card. -
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. -
NativeLATC_L
Image data already in LATC format - Luminance only -
NativeLATC_LA
Image data already in LATC format - Luminance+Alpha -
Depth
depth component format - let card choose bit size -
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. -
Depth32F
Floating point depth format. -
RGB16F
16 bit float per red, green and blue -
RGB32F
32 bit float per red, green and blue -
RGBA16F
16 bit float per red, green, blue and alpha -
RGBA32F
32 bit float per red, green, blue and alpha -
Alpha16F
16 bit float, alpha only format -
Alpha32F
16 bit float, alpha only format -
Luminance16F
16 bit float, luminance only format -
Luminance32F
32 bit float, luminance only format -
LuminanceAlpha16F
16 bit float per luminance and alpha -
LuminanceAlpha32F
32 bit float per luminance and alpha -
Intensity16F
16 bit float, intensity only format -
Intensity32F
32 bit float, intensity only format -
R8
8 bit, one-component format -
R8I
8 bit integer, one-component format -
R8UI
8 bit unsigned integer, one-component format -
R16
16 bit, one-component format -
R16I
16 bit integer, one-component format -
R16UI
16 bit unsigned integer, one-component format -
R16F
16 bit float, one-component format -
R32I
32 bit integer, one-component format -
R32UI
32 bit unsigned integer, one-component format -
R32F
32 bit float, one-component format -
RG8
8 bit, two-component format -
RG8I
8 bit integer, two-component format -
RG8UI
8 bit unsigned integer, two-component format -
RG16
16 bit, two-component format -
RG16I
16 bit integer, two-component format -
RG16UI
16 bit unsigned integer, two-component format -
RG16F
16 bit float, two-component format -
RG32I
32 bit integer, two-component format -
RG32UI
32 bit unsigned integer, two-component format -
RG32F
32 bit float, two-component format.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
isDepthFormat
public boolean isDepthFormat() -
isCompressed
public boolean isCompressed()
-