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 | |
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
Public methods
valueOf
public static Element.DataKind valueOf (String name)
| Parameters | |
|---|---|
name |
String |
| Returns | |
|---|---|
Element.DataKind |
|
Content and code samples on this page are subject to the licenses described in the Content License. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-09-30 UTC.