added in API level 23

ScriptGroup.Binding

public static final class ScriptGroup.Binding
extends Object

java.lang.Object
   ↳ android.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

Inherited methods

Public constructors

ScriptGroup.Binding

added in API level 23
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