|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<TextureConfig.Format>
com.threerings.opengl.renderer.config.TextureConfig.Format
public static enum TextureConfig.Format
Format constants.
| Method Summary | |
|---|---|
int |
getConstant(BufferedImage image)
Returns the OpenGL constant associated with this format. |
boolean |
isSupported(boolean fallback)
|
static TextureConfig.Format |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TextureConfig.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 |
|---|
compareTo, equals, 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 TextureConfig.Format DEFAULT
public static final TextureConfig.Format COMPRESSED_DEFAULT
public static final TextureConfig.Format ALPHA
public static final TextureConfig.Format COMPRESSED_ALPHA
public static final TextureConfig.Format LUMINANCE
public static final TextureConfig.Format COMPRESSED_LUMINANCE
public static final TextureConfig.Format LUMINANCE_ALPHA
public static final TextureConfig.Format COMPRESSED_LUMINANCE_ALPHA
public static final TextureConfig.Format INTENSITY
public static final TextureConfig.Format COMPRESSED_INTENSITY
public static final TextureConfig.Format RGB
public static final TextureConfig.Format COMPRESSED_RGB
public static final TextureConfig.Format RGBA
public static final TextureConfig.Format COMPRESSED_RGBA
public static final TextureConfig.Format DEPTH_COMPONENT
| Method Detail |
|---|
public static TextureConfig.Format[] values()
for (TextureConfig.Format c : TextureConfig.Format.values()) System.out.println(c);
public static TextureConfig.Format valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic int getConstant(BufferedImage image)
image - the image used to guess the format if necessary.public boolean isSupported(boolean fallback)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||