Skip to content

Most visited

Recently visited

navigation

Element.DataType

public static final enum Element.DataType
extends Enum<Element.DataType>

java.lang.Object
   ↳ java.lang.Enum<android.support.v8.renderscript.Element.DataType>
     ↳ android.support.v8.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. 32 bit opaque handles.

Summary

Enum values

Element.DataType  BOOLEAN

 

Element.DataType  FLOAT_32

 

Element.DataType  FLOAT_64

 

Element.DataType  MATRIX_2X2

 

Element.DataType  MATRIX_3X3

 

Element.DataType  MATRIX_4X4

 

Element.DataType  NONE

 

Element.DataType  RS_ALLOCATION

 

Element.DataType  RS_ELEMENT

 

Element.DataType  RS_SAMPLER

 

Element.DataType  RS_SCRIPT

 

Element.DataType  RS_TYPE

 

Element.DataType  SIGNED_16

 

Element.DataType  SIGNED_32

 

Element.DataType  SIGNED_64

 

Element.DataType  SIGNED_8

 

Element.DataType  UNSIGNED_16

 

Element.DataType  UNSIGNED_32

 

Element.DataType  UNSIGNED_4_4_4_4

 

Element.DataType  UNSIGNED_5_5_5_1

 

Element.DataType  UNSIGNED_5_6_5

 

Element.DataType  UNSIGNED_64

 

Element.DataType  UNSIGNED_8

 

Public methods

static Element.DataType valueOf(String name)
static final DataType[] values()

Inherited methods

From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum values

BOOLEAN

Element.DataType BOOLEAN

FLOAT_32

Element.DataType FLOAT_32

FLOAT_64

Element.DataType FLOAT_64

MATRIX_2X2

Element.DataType MATRIX_2X2

MATRIX_3X3

Element.DataType MATRIX_3X3

MATRIX_4X4

Element.DataType MATRIX_4X4

NONE

Element.DataType NONE

RS_ALLOCATION

Element.DataType RS_ALLOCATION

RS_ELEMENT

Element.DataType RS_ELEMENT

RS_SAMPLER

Element.DataType RS_SAMPLER

RS_SCRIPT

Element.DataType RS_SCRIPT

RS_TYPE

Element.DataType RS_TYPE

SIGNED_16

Element.DataType SIGNED_16

SIGNED_32

Element.DataType SIGNED_32

SIGNED_64

Element.DataType SIGNED_64

SIGNED_8

Element.DataType SIGNED_8

UNSIGNED_16

Element.DataType UNSIGNED_16

UNSIGNED_32

Element.DataType UNSIGNED_32

UNSIGNED_4_4_4_4

Element.DataType UNSIGNED_4_4_4_4

UNSIGNED_5_5_5_1

Element.DataType UNSIGNED_5_5_5_1

UNSIGNED_5_6_5

Element.DataType UNSIGNED_5_6_5

UNSIGNED_64

Element.DataType UNSIGNED_64

UNSIGNED_8

Element.DataType UNSIGNED_8

Public methods

valueOf

Element.DataType valueOf (String name)

Parameters
name String
Returns
Element.DataType

values

DataType[] values ()

Returns
DataType[]
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.