public static enum Allocation.MipmapControl extends Enum<Allocation.MipmapControl>
Enum Constant and Description |
---|
MIPMAP_FULL
A Full mipmap chain will be created in script memory.
|
MIPMAP_NONE
No mipmaps will be generated and the type generated from the
incoming bitmap will not contain additional LODs.
|
MIPMAP_ON_SYNC_TO_TEXTURE
The type of the allocation will be the same as MIPMAP_NONE.
|
Modifier and Type | Method and Description |
---|---|
static Allocation.MipmapControl |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Allocation.MipmapControl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Allocation.MipmapControl MIPMAP_NONE
public static final Allocation.MipmapControl MIPMAP_FULL
public static final Allocation.MipmapControl MIPMAP_ON_SYNC_TO_TEXTURE
public static Allocation.MipmapControl[] values()
for (Allocation.MipmapControl c : Allocation.MipmapControl.values()) System.out.println(c);
public static Allocation.MipmapControl 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 null