public static enum Image.Format extends java.lang.Enum<Image.Format>
Enum Constant and Description |
---|
ABGR8
8-bit alpha, blue, green, and red.
|
Alpha8
8-bit alpha
|
ARGB8
8-bit alpha, red, blue and green
|
BC6H_SF16
BPTC compression BC6 signed float RGB
|
BC6H_UF16
BPTC compression BC6 unsigned float RGB
|
BC7_UNORM
BPTC compression BC7 RGBA
|
BC7_UNORM_SRGB
BPTC compression BC7 SRGB Alpha
|
BGR8
8-bit blue, green, and red.
|
BGRA8
8-bit blue, green, red and alpha.
|
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.
|
ETC1
Ericsson Texture Compression.
|
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.
|
R16F
half-precision floating point red.
|
R16I
16-bit signed int red.
|
R16UI
16-bit unsigned int red.
|
R32F
single-precision floating point red.
|
R32I
32-bit signed int red.
|
R32UI
32-bit unsigned int red.
|
R8I
8-bit signed int red.
|
R8UI
8-bit unsigned int red.
|
Reserved1
Deprecated.
|
Reserved10
Deprecated.
Not supported by OpenGL 3.0.
|
Reserved11
Deprecated.
|
Reserved12
Deprecated.
|
Reserved2
Deprecated.
|
Reserved3
Deprecated.
|
Reserved4
Deprecated.
|
Reserved5
Deprecated.
|
Reserved6
Deprecated.
|
Reserved7
Deprecated.
|
Reserved8
Deprecated.
|
Reserved9
Deprecated.
|
RG16F
half-precision floating point red and green.
|
RG16I
16-bit signed int red and green.
|
RG16UI
16-bit unsigned int red and green.
|
RG32F
single-precision floating point red and green.
|
RG32I
32-bit signed int red and green.
|
RG32UI
32-bit unsigned int red and green.
|
RG8I
8-bit signed int red and green.
|
RG8UI
8-bit unsigned int red and green.
|
RGB10A2
10-bit red, green, and blue with 2-bit alpha.
|
RGB111110F
unsigned floating-point red, green and blue that uses 32 bits.
|
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
|
RGB16I
16-bit signed int red, green and blue.
|
RGB16UI
16-bit unsigned int red, green and blue.
|
RGB32F
single-precision floating point red, green, and blue.
|
RGB32I
32-bit signed int red, green and blue.
|
RGB32UI
32-bit unsigned int 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.
|
RGB8I
8-bit signed int red, green and blue.
|
RGB8UI
8 bit unsigned int red, green and blue.
|
RGB9E5
9-bit red, green and blue with 5-bit exponent.
|
RGBA16F
half-precision floating point red, green, blue, and alpha.
|
RGBA16I
16-bit signed int red, green, blue and alpha.
|
RGBA16UI
16-bit unsigned int red, green, blue and alpha.
|
RGBA32F
single-precision floating point red, green, blue and alpha.
|
RGBA32I
32-bit signed int red, green, blue and alpha.
|
RGBA32UI
32-bit unsigned int red, green, blue and alpha.
|
RGBA8
8-bit red, green, blue, and alpha.
|
RGBA8I
8-bit signed int red, green, blue and alpha.
|
RGBA8UI
8-bit unsigned int red, green, blue and alpha.
|
RGTC1 |
RGTC2 |
SIGNED_RGTC1 |
SIGNED_RGTC2 |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final Image.Format Alpha8
@Deprecated public static final Image.Format Reserved1
public static final Image.Format Luminance8
@Deprecated public static final Image.Format Reserved2
public static final Image.Format Luminance16F
Caps.FloatTexture
.public static final Image.Format Luminance32F
Caps.FloatTexture
.public static final Image.Format Luminance8Alpha8
@Deprecated public static final Image.Format Reserved3
public static final Image.Format Luminance16FAlpha16F
Caps.FloatTexture
.@Deprecated public static final Image.Format Reserved4
@Deprecated public static final Image.Format Reserved5
public static final Image.Format BGR8
public static final Image.Format RGB8
@Deprecated public static final Image.Format Reserved6
@Deprecated public static final Image.Format Reserved7
public static final Image.Format RGB565
@Deprecated public static final Image.Format Reserved8
public static final Image.Format RGB5A1
public static final Image.Format RGBA8
public static final Image.Format ABGR8
public static final Image.Format ARGB8
public static final Image.Format BGRA8
@Deprecated public static final Image.Format Reserved9
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 RGTC2
public static final Image.Format SIGNED_RGTC2
public static final Image.Format RGTC1
public static final Image.Format SIGNED_RGTC1
public static final Image.Format BC6H_SF16
public static final Image.Format BC6H_UF16
public static final Image.Format BC7_UNORM
public static final Image.Format BC7_UNORM_SRGB
@Deprecated public static final Image.Format Reserved10
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
Caps.FloatDepthBuffer
.public static final Image.Format RGB16F_to_RGB111110F
RGB16F
in system memory,
but will be converted to RGB111110F
when sent
to the video hardware.
Requires Caps.FloatTexture
and Caps.PackedFloatTexture
.public static final Image.Format RGB111110F
Caps.PackedFloatTexture
.public static final Image.Format RGB16F_to_RGB9E5
RGB16F
in system memory,
but will be converted to RGB9E5
when sent
to the video hardware.
Requires Caps.FloatTexture
and Caps.SharedExponentTexture
.public static final Image.Format RGB9E5
Caps.SharedExponentTexture
.public static final Image.Format RGB16F
Caps.FloatTexture
.
May be supported for renderbuffers, but the OpenGL specification does not require it.public static final Image.Format RGBA16F
Caps.FloatTexture
.public static final Image.Format RGB32F
Caps.FloatTexture
.
May be supported for renderbuffers, but the OpenGL specification does not require it.public static final Image.Format RGBA32F
Caps.FloatTexture
.@Deprecated public static final Image.Format Reserved11
public static final Image.Format Depth24Stencil8
Caps.PackedDepthStencilBuffer
.@Deprecated public static final Image.Format Reserved12
public static final Image.Format ETC1
Caps.TextureCompressionETC1
.public static final Image.Format R8I
Caps.IntegerTexture
.public static final Image.Format R8UI
Caps.IntegerTexture
.public static final Image.Format R16I
Caps.IntegerTexture
.public static final Image.Format R16UI
Caps.IntegerTexture
.public static final Image.Format R32I
Caps.IntegerTexture
.public static final Image.Format R32UI
Caps.IntegerTexture
.public static final Image.Format RG8I
Caps.IntegerTexture
.public static final Image.Format RG8UI
Caps.IntegerTexture
.public static final Image.Format RG16I
Caps.IntegerTexture
.public static final Image.Format RG16UI
Caps.IntegerTexture
.public static final Image.Format RG32I
Caps.IntegerTexture
.public static final Image.Format RG32UI
Caps.IntegerTexture
.public static final Image.Format RGB8I
Caps.IntegerTexture
to be supported for textures.
May be supported for renderbuffers, but the OpenGL specification does not require it.public static final Image.Format RGB8UI
Caps.IntegerTexture
to be supported for textures.
May be supported for renderbuffers, but the OpenGL specification does not require it.public static final Image.Format RGB16I
Caps.IntegerTexture
to be supported for textures.
May be supported for renderbuffers, but the OpenGL specification does not require it.public static final Image.Format RGB16UI
Caps.IntegerTexture
to be supported for textures.
May be supported for renderbuffers, but the OpenGL specification does not require it.public static final Image.Format RGB32I
Caps.IntegerTexture
to be supported for textures.
May be supported for renderbuffers, but the OpenGL specification does not require it.public static final Image.Format RGB32UI
Caps.IntegerTexture
to be supported for textures.
May be supported for renderbuffers, but the OpenGL specification does not require it.public static final Image.Format RGBA8I
Caps.IntegerTexture
.public static final Image.Format RGBA8UI
Caps.IntegerTexture
.public static final Image.Format RGBA16I
Caps.IntegerTexture
.public static final Image.Format RGBA16UI
Caps.IntegerTexture
.public static final Image.Format RGBA32I
Caps.IntegerTexture
.public static final Image.Format RGBA32UI
Caps.IntegerTexture
.public static final Image.Format R16F
Caps.FloatTexture
.public static final Image.Format R32F
Caps.FloatTexture
.public static final Image.Format RG16F
Caps.FloatTexture
.public static final Image.Format RG32F
Caps.FloatTexture
.public static final Image.Format RGB10A2
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 namejava.lang.NullPointerException
- if the argument is nullpublic int getBitsPerPixel()
public boolean isDepthFormat()
public boolean isCompressed()
public boolean isFloatingPont()