|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Image.Format>
com.jme3.texture.Image.Format
public static enum Image.Format
Enum Constant Summary | |
---|---|
ABGR8
8-bit alpha, blue, green, and red. |
|
Alpha16
16-bit alpha |
|
Alpha8
8-bit alpha |
|
ARGB4444
4-bit alpha, red, green, and blue. |
|
BGR8
8-bit blue, green, and red. |
|
Depth
Arbitrary depth format. |
|
Depth16
16-bit depth. |
|
Depth24
24-bit depth. |
|
Depth24Stencil8
24-bit depth with 8-bit stencil. |
|
Depth32
32-bit depth. |
|
Depth32F
single-precision floating point depth. |
|
DXT1
S3TC compression DXT1. |
|
DXT1A
S3TC compression DXT1 with 1-bit alpha. |
|
DXT3
S3TC compression DXT3 with 4-bit alpha. |
|
DXT5
S3TC compression DXT5 with interpolated 8-bit alpha. |
|
Intensity16
|
|
Intensity8
|
|
LATC
Luminance-Alpha Texture Compression. |
|
LTC
Luminance/grayscale texture compression. |
|
Luminance16
16-bit grayscale/luminance. |
|
Luminance16Alpha16
16-bit luminance/grayscale and 16-bit alpha. |
|
Luminance16F
half-precision floating-point grayscale/luminance. |
|
Luminance16FAlpha16F
half-precision floating-point grayscale/luminance and alpha. |
|
Luminance32F
single-precision floating-point grayscale/luminance. |
|
Luminance8
8-bit grayscale/luminance. |
|
Luminance8Alpha8
8-bit luminance/grayscale and 8-bit alpha. |
|
RGB10
10-bit red, green, and blue. |
|
RGB111110F
unsigned floating-point red, green and blue that uses 32 bits. |
|
RGB16
16-bit red, green, and blue. |
|
RGB16F
half-precision floating point red, green, and blue. |
|
RGB16F_to_RGB111110F
Texture data is stored as RGB16F in system memory,
but will be converted to RGB111110F when sent
to the video hardware. |
|
RGB16F_to_RGB9E5
Texture data is stored as RGB16F in system memory,
but will be converted to RGB9E5 when sent
to the video hardware. |
|
RGB32F
single-precision floating point red, green, and blue. |
|
RGB565
5-bit red, 6-bit green, and 5-bit blue. |
|
RGB5A1
5-bit red, green, and blue with 1-bit alpha. |
|
RGB8
8-bit red, green, and blue. |
|
RGB9E5
9-bit red, green and blue with 5-bit exponent. |
|
RGBA16
16-bit red, green, blue and alpha |
|
RGBA16F
half-precision floating point red, green, blue, and alpha. |
|
RGBA32F
single-precision floating point red, green, blue and alpha. |
|
RGBA8
8-bit red, green, blue, and alpha. |
Method Summary | |
---|---|
int |
getBitsPerPixel()
|
boolean |
isCompressed()
|
boolean |
isDepthFormat()
|
boolean |
isFloatingPont()
|
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 |
---|
public static final Image.Format Alpha8
public static final Image.Format Alpha16
public static final Image.Format Luminance8
public static final Image.Format Luminance16
public static final Image.Format Luminance16F
public static final Image.Format Luminance32F
public static final Image.Format Luminance8Alpha8
public static final Image.Format Luminance16Alpha16
public static final Image.Format Luminance16FAlpha16F
public static final Image.Format Intensity8
public static final Image.Format Intensity16
public static final Image.Format BGR8
public static final Image.Format RGB8
public static final Image.Format RGB10
public static final Image.Format RGB16
public static final Image.Format RGB565
public static final Image.Format ARGB4444
public static final Image.Format RGB5A1
public static final Image.Format RGBA8
public static final Image.Format ABGR8
public static final Image.Format RGBA16
public static final Image.Format DXT1
public static final Image.Format DXT1A
public static final Image.Format DXT3
public static final Image.Format DXT5
public static final Image.Format LATC
public static final Image.Format Depth
public static final Image.Format Depth16
public static final Image.Format Depth24
public static final Image.Format Depth32
public static final Image.Format Depth32F
public static final Image.Format RGB16F_to_RGB111110F
RGB16F
in system memory,
but will be converted to RGB111110F
when sent
to the video hardware.
public static final Image.Format RGB111110F
public static final Image.Format RGB16F_to_RGB9E5
RGB16F
in system memory,
but will be converted to RGB9E5
when sent
to the video hardware.
public static final Image.Format RGB9E5
public static final Image.Format RGB16F
public static final Image.Format RGBA16F
public static final Image.Format RGB32F
public static final Image.Format RGBA32F
public static final Image.Format LTC
public static final Image.Format Depth24Stencil8
Caps.PackedDepthStencilBuffer
.
Method Detail |
---|
public static Image.Format[] values()
for (Image.Format c : Image.Format.values()) System.out.println(c);
public static Image.Format valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic int getBitsPerPixel()
public boolean isDepthFormat()
public boolean isCompressed()
public boolean isFloatingPont()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |