ScriptIntrinsicColorMatrix.ForEach Method

Definition

Overloads

ForEach(Allocation, Allocation)

Invoke the kernel and apply the matrix to each cell of input Allocation and copy to the output Allocation.

ForEach(Allocation, Allocation, Script+LaunchOptions)

Invoke the kernel and apply the matrix to each cell of input Allocation and copy to the output Allocation.

ForEach(Allocation, Allocation)

Invoke the kernel and apply the matrix to each cell of input Allocation and copy to the output Allocation.

[Android.Runtime.Register("forEach", "(Landroid/renderscript/Allocation;Landroid/renderscript/Allocation;)V", "")]
public void ForEach (Android.Renderscripts.Allocation? ain, Android.Renderscripts.Allocation? aout);
[<Android.Runtime.Register("forEach", "(Landroid/renderscript/Allocation;Landroid/renderscript/Allocation;)V", "")>]
override this.ForEach : Android.Renderscripts.Allocation * Android.Renderscripts.Allocation -> unit

Parameters

ain
Allocation

Input allocation

aout
Allocation

Output allocation

Attributes

Remarks

Invoke the kernel and apply the matrix to each cell of input Allocation and copy to the output 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.

Java documentation for android.renderscript.ScriptIntrinsicColorMatrix.forEach(android.renderscript.Allocation, 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

ForEach(Allocation, Allocation, Script+LaunchOptions)

Invoke the kernel and apply the matrix to each cell of input Allocation and copy to the output Allocation.

[Android.Runtime.Register("forEach", "(Landroid/renderscript/Allocation;Landroid/renderscript/Allocation;Landroid/renderscript/Script$LaunchOptions;)V", "")]
public void ForEach (Android.Renderscripts.Allocation? ain, Android.Renderscripts.Allocation? aout, Android.Renderscripts.Script.LaunchOptions? opt);
[<Android.Runtime.Register("forEach", "(Landroid/renderscript/Allocation;Landroid/renderscript/Allocation;Landroid/renderscript/Script$LaunchOptions;)V", "")>]
override this.ForEach : Android.Renderscripts.Allocation * Android.Renderscripts.Allocation * Android.Renderscripts.Script.LaunchOptions -> unit

Parameters

ain
Allocation

Input allocation

aout
Allocation

Output allocation

opt
Script.LaunchOptions

LaunchOptions for clipping

Attributes

Remarks

Java documentation for android.renderscript.ScriptIntrinsicColorMatrix.forEach(android.renderscript.Allocation, 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