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 | |
|---|---|
From
class
java.lang.Enum
| |
From
class
java.lang.Object
| |
From
interface
java.lang.Comparable
| |
Enum values
MIPMAP_FULL
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
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
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
Allocation.MipmapControl valueOf (String name)
| Parameters | |
|---|---|
name |
String
|
| Returns | |
|---|---|
Allocation.MipmapControl |
|
Interfaces
Classes
- Allocation
- AllocationAdapter
- BaseObj
- Byte2
- Byte3
- Byte4
- Double2
- Double3
- Double4
- Element
- Element.Builder
- FieldPacker
- Float2
- Float3
- Float4
- Int2
- Int3
- Int4
- Long2
- Long3
- Long4
- Matrix2f
- Matrix3f
- Matrix4f
- RenderScript
- RenderScript.RSErrorHandler
- RenderScript.RSMessageHandler
- Sampler
- Sampler.Builder
- Script
- Script.Builder
- Script.FieldBase
- Script.FieldID
- Script.InvokeID
- Script.KernelID
- Script.LaunchOptions
- ScriptC
- ScriptGroup
- ScriptGroup.Binding
- ScriptGroup.Builder
- ScriptGroup.Builder2
- ScriptGroup.Closure
- ScriptGroup.Future
- ScriptGroup.Input
- ScriptIntrinsic
- ScriptIntrinsic3DLUT
- ScriptIntrinsicBLAS
- ScriptIntrinsicBlend
- ScriptIntrinsicBlur
- ScriptIntrinsicColorMatrix
- ScriptIntrinsicConvolve3x3
- ScriptIntrinsicConvolve5x5
- ScriptIntrinsicHistogram
- ScriptIntrinsicLUT
- ScriptIntrinsicResize
- ScriptIntrinsicYuvToRGB
- Short2
- Short3
- Short4
- Type
- Type.Builder
Enums
Exceptions


