Added in API level 11
Deprecated in API level 31

MipmapControl


class MipmapControl
kotlin.Any
   ↳ kotlin.Enum<android.renderscript.Allocation.MipmapControl>
   ↳ android.renderscript.Allocation.MipmapControl

Controls mipmap behavior when using the bitmap creation and update functions.

Summary

Enum values

A full mipmap chain will be created in script memory.

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

The Type of the Allocation will be the same as MIPMAP_NONE.

Enum values

MIPMAP_FULL

Added in API level 11
enum val MIPMAP_FULL : Allocation.MipmapControl

Deprecated: Deprecated in Java.

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

Added in API level 11
enum val MIPMAP_NONE : Allocation.MipmapControl

Deprecated: Deprecated in Java.

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

MIPMAP_ON_SYNC_TO_TEXTURE

Added in API level 11
enum val MIPMAP_ON_SYNC_TO_TEXTURE : Allocation.MipmapControl

Deprecated: Deprecated in Java.

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.