共用方式為


ScriptGroup.SetOutput(Script+KernelID, Allocation) Method

Definition

Sets an output of the ScriptGroup.

[Android.Runtime.Register("setOutput", "(Landroid/renderscript/Script$KernelID;Landroid/renderscript/Allocation;)V", "")]
public void SetOutput (Android.Renderscripts.Script.KernelID? s, Android.Renderscripts.Allocation? a);
[<Android.Runtime.Register("setOutput", "(Landroid/renderscript/Script$KernelID;Landroid/renderscript/Allocation;)V", "")>]
member this.SetOutput : 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.setOutput(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