to top
Android APIs
public static final enum

Allocation.MipmapControl

extends Enum<E extends  Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ 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

? Examples
static Allocation.MipmapControl valueOf( String name)

? Examples
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

A Full mipmap chain will be created in script memory. The type of the allocation will contain a full mipmap chain. On upload to graphics the full chain will be transfered.

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.

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 to graphics the graphics copy of 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

public static final MipmapControl[] values ()

Added in API level 11

No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.