public static enum RenderScript.ContextType extends Enum<RenderScript.ContextType>
Enum Constant and Description |
---|
DEBUG
DEBUG context, perform extra runtime checks to validate the
kernels and APIs are being used as intended.
|
NORMAL
NORMAL context, this is the default and what shipping apps should
use.
|
PROFILE
PROFILE context, Intended to be used once the first time an
application is run on a new device.
|
Modifier and Type | Method and Description |
---|---|
static RenderScript.ContextType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RenderScript.ContextType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RenderScript.ContextType NORMAL
public static final RenderScript.ContextType DEBUG
public static final RenderScript.ContextType PROFILE
public static RenderScript.ContextType[] values()
for (RenderScript.ContextType c : RenderScript.ContextType.values()) System.out.println(c);
public static RenderScript.ContextType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null