Language

Script.Reduce(Int32, Allocation[], Allocation, Script+LaunchOptions) Method

Definition

Only intended for use by generated reflected code.

[Android.Runtime.Register("reduce", "(I[Landroid/renderscript/Allocation;Landroid/renderscript/Allocation;Landroid/renderscript/Script$LaunchOptions;)V", "GetReduce_IarrayLandroid_renderscript_Allocation_Landroid_renderscript_Allocation_Landroid_renderscript_Script_LaunchOptions_Handler", ApiSince=24)]
protected virtual void Reduce(int slot, Android.Renderscripts.Allocation[]? ains, Android.Renderscripts.Allocation? aout, Android.Renderscripts.Script.LaunchOptions? sc);
[<Android.Runtime.Register("reduce", "(I[Landroid/renderscript/Allocation;Landroid/renderscript/Allocation;Landroid/renderscript/Script$LaunchOptions;)V", "GetReduce_IarrayLandroid_renderscript_Allocation_Landroid_renderscript_Allocation_Landroid_renderscript_Script_LaunchOptions_Handler", ApiSince=24)>]
abstract member Reduce : int * Android.Renderscripts.Allocation[] * Android.Renderscripts.Allocation * Android.Renderscripts.Script.LaunchOptions -> unit
override this.Reduce : int * Android.Renderscripts.Allocation[] * Android.Renderscripts.Allocation * Android.Renderscripts.Script.LaunchOptions -> unit

Parameters

slot
Int32

The index of the exported reduction kernel to run.

ains
Allocation[]

The nonempty array of input allocations in kernel-argument order.

aout
Allocation

The allocation that receives the reduction result.

sc
Script.LaunchOptions

The coordinate limits for this launch, or null to use the allocation dimensions.

Attributes

Remarks

Java documentation for android.renderscript.Script.reduce(int, android.renderscript.Allocation[], android.renderscript.Allocation, android.renderscript.LaunchOptions).

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