Most visited

Recently visited

ScriptGroup.Binding

public static final class ScriptGroup.Binding
extends Object

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


Represents a binding of a value to a global variable in a kernel or invocable function. Used in closure creation.

Summary

Public constructors

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

Returns a Binding object that binds value to field

Public methods

Script.FieldID getField()

Returns the field ID

Object getValue()

Returns the value

Inherited methods

From class java.lang.Object

Public constructors

ScriptGroup.Binding

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

Returns a Binding object that binds value to field

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

Public methods

getField

Script.FieldID getField ()

Returns the field ID

Returns
Script.FieldID

getValue

Object getValue ()

Returns the value

Returns
Object

Hooray!