Android APIs
public static final enum

Allocation.MipmapControl

extends Enum<Allocation.MipmapControl>
java.lang.Object
   ↳ java.lang.Enum<android.renderscript.Allocation.MipmapControl>
     ↳ android.renderscript.Allocation.MipmapControl

Class Overview

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)
final static MipmapControl[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final Allocation.MipmapControl MIPMAP_FULL

Added in API level 11

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.

public static final Allocation.MipmapControl MIPMAP_NONE

Added in API level 11

No mipmaps will be generated and the type generated from the incoming bitmap will not contain additional LODs.

public static final Allocation.MipmapControl MIPMAP_ON_SYNC_TO_TEXTURE

Added in API level 11

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

public static Allocation.MipmapControl valueOf (String name)

Added in API level 11

Parameters
name String
Returns
Allocation.MipmapControl

public static final MipmapControl[] values ()

Added in API level 11

Returns
MipmapControl[]