public enum BitmapTextureFormat extends java.lang.Enum<BitmapTextureFormat>
| Modifier and Type | Method and Description |
|---|---|
static BitmapTextureFormat |
fromPixelFormat(PixelFormat pPixelFormat) |
android.graphics.Bitmap.Config |
getBitmapConfig() |
PixelFormat |
getPixelFormat() |
static BitmapTextureFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BitmapTextureFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BitmapTextureFormat RGBA_8888
public static final BitmapTextureFormat RGB_565
public static final BitmapTextureFormat RGBA_4444
public static final BitmapTextureFormat A_8
public static BitmapTextureFormat[] values()
for (BitmapTextureFormat c : BitmapTextureFormat.values()) System.out.println(c);
public static BitmapTextureFormat 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 static BitmapTextureFormat fromPixelFormat(PixelFormat pPixelFormat)
public android.graphics.Bitmap.Config getBitmapConfig()
public PixelFormat getPixelFormat()