Allocation.MipmapControl
public
static
final
enum
Allocation.MipmapControl
extends Enum<Allocation.MipmapControl>
java.lang.Object | ||
↳ | java.lang.Enum<android.renderscript.Allocation.MipmapControl> | |
↳ | android.renderscript.Allocation.MipmapControl |
Controls mipmap behavior when using the bitmap creation and update functions.
Summary
Enum values | |
---|---|
Allocation.MipmapControl |
MIPMAP_FULL
A full mipmap chain will be created in script memory. |
Allocation.MipmapControl |
MIPMAP_NONE
No mipmaps will be generated and the type generated from the incoming bitmap will not contain additional LODs. |
Allocation.MipmapControl |
MIPMAP_ON_SYNC_TO_TEXTURE
The Type of the Allocation will be the same as MIPMAP_NONE. |
Public methods | |
---|---|
static
Allocation.MipmapControl
|
valueOf(String name)
|
static
final
MipmapControl[]
|
values()
|
Inherited methods | |
---|---|
Enum values
MIPMAP_FULL
public static final Allocation.MipmapControl MIPMAP_FULL
A full mipmap chain will be created in script memory. The Type of the Allocation will contain a full mipmap chain. On upload, the full chain will be transferred.
MIPMAP_NONE
public static final Allocation.MipmapControl 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
public static final Allocation.MipmapControl MIPMAP_ON_SYNC_TO_TEXTURE
The Type of the Allocation will be the same as MIPMAP_NONE. It will not contain mipmaps. On upload, the allocation data will contain a full mipmap chain generated from the top level in script memory.
Public methods
valueOf
public static Allocation.MipmapControl valueOf (String name)
Parameters | |
---|---|
name |
String |
Returns | |
---|---|
Allocation.MipmapControl |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-04-17 UTC.
TMZ Celebrity News – Breaking Stories, Videos & Gossip
Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.
Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.
🎥 Watch TMZ Live
TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.
- Exclusive TMZ interviews and court updates
- Viral celebrity videos and candid photos
- Trending gossip and entertainment news