Stay organized with collections Save and categorize content based on your preferences.
Added in API level 23
Deprecated in API level 31

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

Binding(Script.FieldID field, Object value)

Returns a Binding object that binds value to field

Inherited methods

Public constructors

Binding

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