Bagikan melalui


ScriptGroup.Builder.AddConnection Method

Definition

Overloads

AddConnection(Type, Script+KernelID, Script+FieldID)

Adds a connection to the group.

AddConnection(Type, Script+KernelID, Script+KernelID)

Adds a connection to the group.

AddConnection(Type, Script+KernelID, Script+FieldID)

Adds a connection to the group.

[Android.Runtime.Register("addConnection", "(Landroid/renderscript/Type;Landroid/renderscript/Script$KernelID;Landroid/renderscript/Script$FieldID;)Landroid/renderscript/ScriptGroup$Builder;", "")]
public Android.Renderscripts.ScriptGroup.Builder? AddConnection (Android.Renderscripts.Type? t, Android.Renderscripts.Script.KernelID? from, Android.Renderscripts.Script.FieldID? to);
[<Android.Runtime.Register("addConnection", "(Landroid/renderscript/Type;Landroid/renderscript/Script$KernelID;Landroid/renderscript/Script$FieldID;)Landroid/renderscript/ScriptGroup$Builder;", "")>]
member this.AddConnection : Android.Renderscripts.Type * Android.Renderscripts.Script.KernelID * Android.Renderscripts.Script.FieldID -> Android.Renderscripts.ScriptGroup.Builder

Parameters

t
Type

The type of the connection. This is used to determine the kernel launch sizes on the source side of this connection.

from
Script.KernelID

The source for the connection.

to
Script.FieldID

The destination of the connection.

Returns

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

AddConnection(Type, Script+KernelID, Script+KernelID)

Adds a connection to the group.

[Android.Runtime.Register("addConnection", "(Landroid/renderscript/Type;Landroid/renderscript/Script$KernelID;Landroid/renderscript/Script$KernelID;)Landroid/renderscript/ScriptGroup$Builder;", "")]
public Android.Renderscripts.ScriptGroup.Builder? AddConnection (Android.Renderscripts.Type? t, Android.Renderscripts.Script.KernelID? from, Android.Renderscripts.Script.KernelID? to);
[<Android.Runtime.Register("addConnection", "(Landroid/renderscript/Type;Landroid/renderscript/Script$KernelID;Landroid/renderscript/Script$KernelID;)Landroid/renderscript/ScriptGroup$Builder;", "")>]
member this.AddConnection : Android.Renderscripts.Type * Android.Renderscripts.Script.KernelID * Android.Renderscripts.Script.KernelID -> Android.Renderscripts.ScriptGroup.Builder

Parameters

t
Type

The type of the connection. This is used to determine the kernel launch sizes for both sides of this connection.

from
Script.KernelID

The source for the connection.

to
Script.KernelID

The destination of the connection.

Returns

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to