public static final enum RenderScript.ContextType
extends Enum<RenderScript.ContextType>
java.lang.Object | ||
java.lang.Enum<android.support.v8.renderscript.RenderScript.ContextType> | ||
android.support.v8.renderscript.RenderScript.ContextType |
ContextType指定要创建的特定上下文类型。
Enum values |
|
---|---|
RenderScript.ContextType |
DEBUG DEBUG上下文,执行额外的运行时检查来验证内核和API是否按照预期使用。 |
RenderScript.ContextType |
NORMAL NORMAL正常情况下,这是默认值以及应用程序应该使用的运输方式。 |
RenderScript.ContextType |
PROFILE PROFILE上下文,用于第一次在新设备上运行应用程序时使用。 |
公共方法(Public methods) |
|
---|---|
static RenderScript.ContextType |
valueOf(String name) |
static final ContextType[] |
values() |
继承方法(Inherited methods) |
|
---|---|
![]() java.lang.Enum
|
|
![]() java.lang.Object
|
|
![]() java.lang.Comparable
|
RenderScript.ContextType DEBUG
DEBUG上下文,执行额外的运行时检查来验证内核和API是否按照预期使用。 Get和SetElementAt将在此模式下进行边界检查。
RenderScript.ContextType valueOf (String name)
参数(Parameters) | |
---|---|
name |
String
|
返回(Returns) | |
---|---|
RenderScript.ContextType |