android.renderscript
Enum Element.DataType
java.lang.Object
java.lang.Enum<Element.DataType>
android.renderscript.Element.DataType
- All Implemented Interfaces:
- Serializable, Comparable<Element.DataType>
- Enclosing class:
- Element
public static enum Element.DataType
- extends Enum<Element.DataType>
BOOLEAN
public static final Element.DataType BOOLEAN
FLOAT_32
public static final Element.DataType FLOAT_32
FLOAT_64
public static final Element.DataType FLOAT_64
MATRIX_2X2
public static final Element.DataType MATRIX_2X2
MATRIX_3X3
public static final Element.DataType MATRIX_3X3
MATRIX_4X4
public static final Element.DataType MATRIX_4X4
RS_ALLOCATION
public static final Element.DataType RS_ALLOCATION
RS_ELEMENT
public static final Element.DataType RS_ELEMENT
RS_MESH
public static final Element.DataType RS_MESH
RS_PROGRAM_FRAGMENT
public static final Element.DataType RS_PROGRAM_FRAGMENT
RS_PROGRAM_RASTER
public static final Element.DataType RS_PROGRAM_RASTER
RS_PROGRAM_STORE
public static final Element.DataType RS_PROGRAM_STORE
RS_PROGRAM_VERTEX
public static final Element.DataType RS_PROGRAM_VERTEX
RS_SAMPLER
public static final Element.DataType RS_SAMPLER
RS_SCRIPT
public static final Element.DataType RS_SCRIPT
RS_TYPE
public static final Element.DataType RS_TYPE
SIGNED_16
public static final Element.DataType SIGNED_16
SIGNED_32
public static final Element.DataType SIGNED_32
SIGNED_64
public static final Element.DataType SIGNED_64
SIGNED_8
public static final Element.DataType SIGNED_8
UNSIGNED_16
public static final Element.DataType UNSIGNED_16
UNSIGNED_32
public static final Element.DataType UNSIGNED_32
UNSIGNED_4_4_4_4
public static final Element.DataType UNSIGNED_4_4_4_4
UNSIGNED_5_5_5_1
public static final Element.DataType UNSIGNED_5_5_5_1
UNSIGNED_5_6_5
public static final Element.DataType UNSIGNED_5_6_5
UNSIGNED_64
public static final Element.DataType UNSIGNED_64
UNSIGNED_8
public static final Element.DataType UNSIGNED_8
values
public static Element.DataType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Element.DataType c : Element.DataType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Element.DataType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Copyright © 2008-2012. All Rights Reserved.