Language

Script.ForEach Method

Definition

Overloads

Name Description
ForEach(Int32, Allocation, Allocation, FieldPacker)

Only intended for use by generated reflected code.

ForEach(Int32, Allocation[], Allocation, FieldPacker)

Only intended for use by generated reflected code.

ForEach(Int32, Allocation, Allocation, FieldPacker, Script+LaunchOptions)

Only intended for use by generated reflected code.

ForEach(Int32, Allocation[], Allocation, FieldPacker, Script+LaunchOptions)

Only intended for use by generated reflected code.

ForEach(Int32, Allocation, Allocation, FieldPacker)

Only intended for use by generated reflected code.

[Android.Runtime.Register("forEach", "(ILandroid/renderscript/Allocation;Landroid/renderscript/Allocation;Landroid/renderscript/FieldPacker;)V", "GetForEach_ILandroid_renderscript_Allocation_Landroid_renderscript_Allocation_Landroid_renderscript_FieldPacker_Handler")]
protected virtual void ForEach(int slot, Android.Renderscripts.Allocation? ain, Android.Renderscripts.Allocation? aout, Android.Renderscripts.FieldPacker? v);
[<Android.Runtime.Register("forEach", "(ILandroid/renderscript/Allocation;Landroid/renderscript/Allocation;Landroid/renderscript/FieldPacker;)V", "GetForEach_ILandroid_renderscript_Allocation_Landroid_renderscript_Allocation_Landroid_renderscript_FieldPacker_Handler")>]
abstract member ForEach : int * Android.Renderscripts.Allocation * Android.Renderscripts.Allocation * Android.Renderscripts.FieldPacker -> unit
override this.ForEach : int * Android.Renderscripts.Allocation * Android.Renderscripts.Allocation * Android.Renderscripts.FieldPacker -> unit

Parameters

slot
Int32

The index of the exported kernel to run.

ain
Allocation

The input allocation, or null if the kernel has no input allocation.

aout
Allocation

The output allocation, or null if the kernel has no output allocation.

v
FieldPacker

The packed kernel arguments, or null if there are none.

Attributes

Remarks

Only intended for use by generated reflected code.

Java documentation for android.renderscript.Script.forEach(int, android.renderscript.Allocation, android.renderscript.Allocation, android.renderscript.FieldPacker).

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

ForEach(Int32, Allocation[], Allocation, FieldPacker)

Only intended for use by generated reflected code.

[Android.Runtime.Register("forEach", "(I[Landroid/renderscript/Allocation;Landroid/renderscript/Allocation;Landroid/renderscript/FieldPacker;)V", "GetForEach_IarrayLandroid_renderscript_Allocation_Landroid_renderscript_Allocation_Landroid_renderscript_FieldPacker_Handler", ApiSince=23)]
protected virtual void ForEach(int slot, Android.Renderscripts.Allocation[]? ains, Android.Renderscripts.Allocation? aout, Android.Renderscripts.FieldPacker? v);
[<Android.Runtime.Register("forEach", "(I[Landroid/renderscript/Allocation;Landroid/renderscript/Allocation;Landroid/renderscript/FieldPacker;)V", "GetForEach_IarrayLandroid_renderscript_Allocation_Landroid_renderscript_Allocation_Landroid_renderscript_FieldPacker_Handler", ApiSince=23)>]
abstract member ForEach : int * Android.Renderscripts.Allocation[] * Android.Renderscripts.Allocation * Android.Renderscripts.FieldPacker -> unit
override this.ForEach : int * Android.Renderscripts.Allocation[] * Android.Renderscripts.Allocation * Android.Renderscripts.FieldPacker -> unit

Parameters

slot
Int32

The index of the exported kernel to run.

ains
Allocation[]

The input allocations in kernel-argument order, or null if there are none.

aout
Allocation

The output allocation, or null if the kernel has no output allocation.

v
FieldPacker

The packed kernel arguments, or null if there are none.

Attributes

Remarks

Only intended for use by generated reflected code.

Java documentation for android.renderscript.Script.forEach(int, android.renderscript.Allocation[], android.renderscript.Allocation, android.renderscript.FieldPacker).

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

ForEach(Int32, Allocation, Allocation, FieldPacker, Script+LaunchOptions)

Only intended for use by generated reflected code.

[Android.Runtime.Register("forEach", "(ILandroid/renderscript/Allocation;Landroid/renderscript/Allocation;Landroid/renderscript/FieldPacker;Landroid/renderscript/Script$LaunchOptions;)V", "GetForEach_ILandroid_renderscript_Allocation_Landroid_renderscript_Allocation_Landroid_renderscript_FieldPacker_Landroid_renderscript_Script_LaunchOptions_Handler")]
protected virtual void ForEach(int slot, Android.Renderscripts.Allocation? ain, Android.Renderscripts.Allocation? aout, Android.Renderscripts.FieldPacker? v, Android.Renderscripts.Script.LaunchOptions? sc);
[<Android.Runtime.Register("forEach", "(ILandroid/renderscript/Allocation;Landroid/renderscript/Allocation;Landroid/renderscript/FieldPacker;Landroid/renderscript/Script$LaunchOptions;)V", "GetForEach_ILandroid_renderscript_Allocation_Landroid_renderscript_Allocation_Landroid_renderscript_FieldPacker_Landroid_renderscript_Script_LaunchOptions_Handler")>]
abstract member ForEach : int * Android.Renderscripts.Allocation * Android.Renderscripts.Allocation * Android.Renderscripts.FieldPacker * Android.Renderscripts.Script.LaunchOptions -> unit
override this.ForEach : int * Android.Renderscripts.Allocation * Android.Renderscripts.Allocation * Android.Renderscripts.FieldPacker * Android.Renderscripts.Script.LaunchOptions -> unit

Parameters

slot
Int32

The index of the exported kernel to run.

ain
Allocation

The input allocation, or null if the kernel has no input allocation.

aout
Allocation

The output allocation, or null if the kernel has no output allocation.

v
FieldPacker

The packed kernel arguments, or null if there are none.

sc
Script.LaunchOptions

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

Attributes

Remarks

Java documentation for android.renderscript.Script.forEach(int, android.renderscript.Allocation, android.renderscript.Allocation, android.renderscript.FieldPacker).

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

ForEach(Int32, Allocation[], Allocation, FieldPacker, Script+LaunchOptions)

Only intended for use by generated reflected code.

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

Parameters

slot
Int32

The index of the exported kernel to run.

ains
Allocation[]

The input allocations in kernel-argument order, or null if there are none.

aout
Allocation

The output allocation, or null if the kernel has no output allocation.

v
FieldPacker

The packed kernel arguments, or null if there are none.

sc
Script.LaunchOptions

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

Attributes

Remarks

Java documentation for android.renderscript.Script.forEach(int, android.renderscript.Allocation, android.renderscript.Allocation, android.renderscript.FieldPacker).

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