Most visited

Recently visited

Added in API level 11

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


必要时对数据进行特殊解释。 这对图形数据非常有用。 USER表示没有特殊解释。 PIXEL与标准数据类型一起用于表示纹理格式。

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

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

Enum values

PIXEL_A

Added in API level 11
Element.DataKind PIXEL_A

PIXEL_DEPTH

Added in API level 11
Element.DataKind PIXEL_DEPTH

PIXEL_L

Added in API level 11
Element.DataKind PIXEL_L

PIXEL_LA

Added in API level 11
Element.DataKind PIXEL_LA

PIXEL_RGB

Added in API level 11
Element.DataKind PIXEL_RGB

PIXEL_RGBA

Added in API level 11
Element.DataKind PIXEL_RGBA

PIXEL_YUV

Added in API level 11
Element.DataKind PIXEL_YUV

USER

Added in API level 11
Element.DataKind USER

Public methods

valueOf

Added in API level 11
Element.DataKind valueOf (String name)

Parameters
name String
Returns
Element.DataKind

values

Added in API level 11
DataKind[] values ()

Returns
DataKind[]

Hooray!