ScriptIntrinsicColorMatrix.ForEach Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ForEach(Allocation, Allocation) |
Invoke the kernel and apply the matrix to each cell of input
|
ForEach(Allocation, Allocation, Script+LaunchOptions) |
Invoke the kernel and apply the matrix to each cell of input
|
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.
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
LaunchOptions for clipping
- Attributes
Remarks
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.