Most visited

Recently visited

ScriptGroup.Binding

public static final class ScriptGroup.Binding
extends Object

java.lang.Object
   ↳ android.support.v8.renderscript.ScriptGroup.Binding


表示将值绑定到内核或可调用函数中的全局变量。 用于闭包创建。

Summary

Public constructors

ScriptGroup.Binding(Script.FieldID field, Object value)

返回将值绑定到字段的绑定对象

Public methods

Script.FieldID getField()

返回字段ID

Object getValue()

返回值

Inherited methods

From class java.lang.Object

Public constructors

ScriptGroup.Binding

ScriptGroup.Binding (Script.FieldID field, 
                Object value)

返回将值绑定到字段的绑定对象

Parameters
field Script.FieldID: the Script.FieldID of the global variable
value Object: the value

Public methods

getField

Script.FieldID getField ()

返回字段ID

Returns
Script.FieldID

getValue

Object getValue ()

返回值

Returns
Object

Hooray!