public enum InternalTextureFormat extends Enum<InternalTextureFormat> implements Enumeration
Enum Constant and Description |
---|
ALPHA12
Each texel is an 12-bit alpha component.
|
ALPHA16
Each texel is an 16-bit alpha component.
|
ALPHA4
Each texel is an 4-bit alpha component.
|
ALPHA8
Each texel is an 8-bit alpha component.
|
LUMINANCE12
Each texel is an 12-bit luminance, e.g.
|
LUMINANCE12ALPHA12
Each texel contains an 12-bit luminance and 12-bit alpha component.
|
LUMINANCE12ALPHA4
Each texel contains an 12-bit luminance and 4-bit alpha component.
|
LUMINANCE16
Each texel is an 16-bit luminance, e.g.
|
LUMINANCE16ALPHA16
Each texel contains an 16-bit luminance and 16-bit alpha component.
|
LUMINANCE16ALPHA16F
Each texel contains an 16-bit luminance and 16-bit alpha floating point component.
|
LUMINANCE16F
Each texel is an 16-bit luminance, e.g.
|
LUMINANCE32ALPHA32F
Each texel contains an 32-bit luminance and 32-bit alpha floating point component.
|
LUMINANCE32F
Each texel is an 32-bit luminance, e.g.
|
LUMINANCE4
Each texel is an 4-bit luminance, e.g.
|
LUMINANCE4ALPHA4
Each texel contains an 4-bit luminance and 4-bit alpha component.
|
LUMINANCE6ALPHA2
Each texel contains an 6-bit luminance and 2-bit alpha component.
|
LUMINANCE8
Each texel is an 8-bit luminance, e.g.
|
LUMINANCE8ALPHA8
Each texel contains an 8-bit luminance and 8-bit alpha component.
|
R3G3B2
Each texel contains 3-bit red and green components and 2-bit blue component.
|
RGB10
Each texel contains 10-bit red, green, and blue components.
|
RGB10A2
Each texel contains 10-bit red, green, blue components and 2-bit alpha component.
|
RGB12
Each texel contains 12-bit red, green, and blue components.
|
RGB16
Each texel contains 16-bit red, green, and blue components.
|
RGB16F
Each texel contains 16-bit red, green, and blue floating point components.
|
RGB32F
Each texel contains 32-bit red, green, and blue floating point components.
|
RGB4
Each texel contains 4-bit red, green, and blue components.
|
RGB5
Each texel contains 5-bit red, green, and blue components.
|
RGB5A1
Each texel contains 5-bit red, green, blue components and 1-bit alpha component.
|
RGB8
Each texel contains 8-bit red, green, and blue components.
|
RGBA12
Each texel contains 12-bit red, green, blue, and alpha components.
|
RGBA16
Each texel contains 16-bit red, green, blue, and alpha components.
|
RGBA16F
Each texel contains 16-bit red, green, blue, and alpha floating point components.
|
RGBA2
Each texel contains 2-bit red, green, blue, and alpha components.
|
RGBA32F
Each texel contains 32-bit red, green, blue, and alpha floating point components.
|
RGBA4
Each texel contains 4-bit red, green, blue, and alpha components.
|
RGBA8
Each texel contains 8-bit red, green, blue, and alpha components.
|
Modifier and Type | Method and Description |
---|---|
static InternalTextureFormat |
getDefault()
Get the enum constant that is considered to be the default.
|
static InternalTextureFormat |
getFromValue(int value)
Get the enum constant that is associated with the given numeric value.
|
int |
getValue()
Get the numeric value associated with this enum constant.
|
static InternalTextureFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InternalTextureFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InternalTextureFormat ALPHA4
public static final InternalTextureFormat ALPHA8
public static final InternalTextureFormat ALPHA12
public static final InternalTextureFormat ALPHA16
public static final InternalTextureFormat R3G3B2
public static final InternalTextureFormat RGB4
public static final InternalTextureFormat RGB5
public static final InternalTextureFormat RGB8
public static final InternalTextureFormat RGB10
public static final InternalTextureFormat RGB12
public static final InternalTextureFormat RGB16
public static final InternalTextureFormat RGB16F
public static final InternalTextureFormat RGB32F
public static final InternalTextureFormat RGBA2
public static final InternalTextureFormat RGBA4
public static final InternalTextureFormat RGB5A1
public static final InternalTextureFormat RGBA8
public static final InternalTextureFormat RGB10A2
public static final InternalTextureFormat RGBA12
public static final InternalTextureFormat RGBA16
public static final InternalTextureFormat RGBA16F
public static final InternalTextureFormat RGBA32F
public static final InternalTextureFormat LUMINANCE4
public static final InternalTextureFormat LUMINANCE8
public static final InternalTextureFormat LUMINANCE12
public static final InternalTextureFormat LUMINANCE16
public static final InternalTextureFormat LUMINANCE16F
public static final InternalTextureFormat LUMINANCE32F
public static final InternalTextureFormat LUMINANCE4ALPHA4
public static final InternalTextureFormat LUMINANCE6ALPHA2
public static final InternalTextureFormat LUMINANCE8ALPHA8
public static final InternalTextureFormat LUMINANCE12ALPHA4
public static final InternalTextureFormat LUMINANCE12ALPHA12
public static final InternalTextureFormat LUMINANCE16ALPHA16
public static final InternalTextureFormat LUMINANCE16ALPHA16F
public static final InternalTextureFormat LUMINANCE32ALPHA32F
public static InternalTextureFormat[] values()
for (InternalTextureFormat c : InternalTextureFormat.values()) System.out.println(c);
public static InternalTextureFormat valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
getValue
in interface Enumeration
@Nonnull public static InternalTextureFormat getFromValue(int value)
value
- a numeric value.@Nonnull public static InternalTextureFormat getDefault()