Udostępnij za pośrednictwem


ScriptGroup.SetInput(Script+KernelID, Allocation) Method

Definition

Sets an input of the ScriptGroup.

[Android.Runtime.Register("setInput", "(Landroid/renderscript/Script$KernelID;Landroid/renderscript/Allocation;)V", "")]
public void SetInput (Android.Renderscripts.Script.KernelID? s, Android.Renderscripts.Allocation? a);
[<Android.Runtime.Register("setInput", "(Landroid/renderscript/Script$KernelID;Landroid/renderscript/Allocation;)V", "")>]
member this.SetInput : Android.Renderscripts.Script.KernelID * Android.Renderscripts.Allocation -> unit

Parameters

s
Script.KernelID

The ID of the kernel where the allocation should be connected.

a
Allocation

The allocation to connect.

Attributes

Remarks

Java documentation for android.renderscript.ScriptGroup.setInput(android.renderscript.KernelID, android.renderscript.Allocation).

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