Added in API level 11
Deprecated in API level 31

Element.DataKind


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

java.lang.Object
   ↳ java.lang.Enum<android.renderscript.Element.DataKind>
     ↳ android.renderscript.Element.DataKind


The special interpretation of the data if required. This is primarly useful for graphical data. USER indicates no special interpretation is expected. PIXEL is used in conjunction with the standard data types for representing texture formats.

Summary

Enum values

Element.DataKind  PIXEL_A

 

Element.DataKind  PIXEL_DEPTH

 

Element.DataKind  PIXEL_L

 

Element.DataKind  PIXEL_LA

 

Element.DataKind  PIXEL_RGB

 

Element.DataKind  PIXEL_RGBA

 

Element.DataKind  PIXEL_YUV

 

Element.DataKind  USER

 

Public methods

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

Inherited methods

Enum values

PIXEL_A

Added in API level 11
public static final Element.DataKind PIXEL_A

PIXEL_DEPTH

Added in API level 14
Deprecated in API level 31
public static final Element.DataKind PIXEL_DEPTH

PIXEL_L

Added in API level 11
public static final Element.DataKind PIXEL_L

PIXEL_LA

Added in API level 11
public static final Element.DataKind PIXEL_LA

PIXEL_RGB

Added in API level 11
public static final Element.DataKind PIXEL_RGB

PIXEL_RGBA

Added in API level 11
public static final Element.DataKind PIXEL_RGBA

PIXEL_YUV

Added in API level 18
Deprecated in API level 31
public static final Element.DataKind PIXEL_YUV

USER

Added in API level 11
public static final Element.DataKind USER

Public methods

valueOf

public static Element.DataKind valueOf (String name)

Parameters
name String

Returns
Element.DataKind

values

public static final DataKind[] values ()

Returns
DataKind[]