Added in API level 11
Deprecated in API level 31

DataType


class DataType
kotlin.Any
   ↳ kotlin.Enum<android.renderscript.Element.DataType>
   ↳ android.renderscript.Element.DataType

DataType represents the basic type information for a basic element. The naming convention follows. For numeric types it is FLOAT, SIGNED, or UNSIGNED followed by the _BITS where BITS is the size of the data. BOOLEAN is a true / false (1,0) represented in an 8 bit container. The UNSIGNED variants with multiple bit definitions are for packed graphical data formats and represent vectors with per vector member sizes which are treated as a single unit for packing and alignment purposes. MATRIX the three matrix types contain FLOAT_32 elements and are treated as 32 bits for alignment purposes. RS_* objects: opaque handles with implementation dependent sizes.

Summary

Enum values

Enum values

BOOLEAN

Added in API level 11
enum val BOOLEAN : Element.DataType

Deprecated: Deprecated in Java.

FLOAT_16

Added in API level 23
Deprecated in API level 31
enum val FLOAT_16 : Element.DataType

Deprecated: Deprecated in Java.

FLOAT_32

Added in API level 11
enum val FLOAT_32 : Element.DataType

Deprecated: Deprecated in Java.

FLOAT_64

Added in API level 11
enum val FLOAT_64 : Element.DataType

Deprecated: Deprecated in Java.

MATRIX_2X2

Added in API level 11
enum val MATRIX_2X2 : Element.DataType

Deprecated: Deprecated in Java.

MATRIX_3X3

Added in API level 11
enum val MATRIX_3X3 : Element.DataType

Deprecated: Deprecated in Java.

MATRIX_4X4

Added in API level 11
enum val MATRIX_4X4 : Element.DataType

Deprecated: Deprecated in Java.

NONE

Added in API level 16
Deprecated in API level 31
enum val NONE : Element.DataType

Deprecated: Deprecated in Java.

RS_ALLOCATION

Added in API level 11
enum val RS_ALLOCATION : Element.DataType

Deprecated: Deprecated in Java.

RS_ELEMENT

Added in API level 11
enum val RS_ELEMENT : Element.DataType

Deprecated: Deprecated in Java.

RS_FONT

Added in API level 16
Deprecated in API level 31
enum val RS_FONT : Element.DataType

Deprecated: Deprecated in Java.

RS_MESH

Added in API level 11
enum val RS_MESH : Element.DataType

Deprecated: Deprecated in Java.

RS_PROGRAM_FRAGMENT

Added in API level 11
enum val RS_PROGRAM_FRAGMENT : Element.DataType

Deprecated: Deprecated in Java.

RS_PROGRAM_RASTER

Added in API level 11
enum val RS_PROGRAM_RASTER : Element.DataType

Deprecated: Deprecated in Java.

RS_PROGRAM_STORE

Added in API level 11
enum val RS_PROGRAM_STORE : Element.DataType

Deprecated: Deprecated in Java.

RS_PROGRAM_VERTEX

Added in API level 11
enum val RS_PROGRAM_VERTEX : Element.DataType

Deprecated: Deprecated in Java.

RS_SAMPLER

Added in API level 11
enum val RS_SAMPLER : Element.DataType

Deprecated: Deprecated in Java.

RS_SCRIPT

Added in API level 11
enum val RS_SCRIPT : Element.DataType

Deprecated: Deprecated in Java.

RS_TYPE

Added in API level 11
enum val RS_TYPE : Element.DataType

Deprecated: Deprecated in Java.

SIGNED_16

Added in API level 11
enum val SIGNED_16 : Element.DataType

Deprecated: Deprecated in Java.

SIGNED_32

Added in API level 11
enum val SIGNED_32 : Element.DataType

Deprecated: Deprecated in Java.

SIGNED_64

Added in API level 11
enum val SIGNED_64 : Element.DataType

Deprecated: Deprecated in Java.

SIGNED_8

Added in API level 11
enum val SIGNED_8 : Element.DataType

Deprecated: Deprecated in Java.

UNSIGNED_16

Added in API level 11
enum val UNSIGNED_16 : Element.DataType

Deprecated: Deprecated in Java.

UNSIGNED_32

Added in API level 11
enum val UNSIGNED_32 : Element.DataType

Deprecated: Deprecated in Java.

UNSIGNED_4_4_4_4

Added in API level 11
enum val UNSIGNED_4_4_4_4 : Element.DataType

Deprecated: Deprecated in Java.

UNSIGNED_5_5_5_1

Added in API level 11
enum val UNSIGNED_5_5_5_1 : Element.DataType

Deprecated: Deprecated in Java.

UNSIGNED_5_6_5

Added in API level 11
enum val UNSIGNED_5_6_5 : Element.DataType

Deprecated: Deprecated in Java.

UNSIGNED_64

Added in API level 11
enum val UNSIGNED_64 : Element.DataType

Deprecated: Deprecated in Java.

UNSIGNED_8

Added in API level 11
enum val UNSIGNED_8 : Element.DataType

Deprecated: Deprecated in Java.