Android.Renderscripts.ScriptIntrinsicColorMatrix.ForEach Method
Invoke the kernel and apply the matrix to each cell of input Android.Renderscripts.Allocation and copy to the output Android.Renderscripts.Allocation.

Syntax

[Android.Runtime.Register("forEach", "(Landroid/renderscript/Allocation;Landroid/renderscript/Allocation;)V", "")]
public void ForEach (Allocation ain, Allocation aout)

Parameters

ain
Input allocation
aout
Output allocation

Remarks

Invoke the kernel and apply the matrix to each cell of input Android.Renderscripts.Allocation and copy to the output Android.Renderscripts.Allocation. If the vector size of the input is less than four, the remaining components are treated as zero for the matrix multiply. If the output vector size is less than four, the unused vector components are discarded.

[Android Documentation]

Requirements

Namespace: Android.Renderscripts
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 17