ScriptIntrinsicBlend.ForEachDstAtop 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
ForEachDstAtop(Allocation, Allocation) |
dst = dst. |
ForEachDstAtop(Allocation, Allocation, Script+LaunchOptions) |
dst = dst. |
ForEachDstAtop(Allocation, Allocation)
dst = dst.
[Android.Runtime.Register("forEachDstAtop", "(Landroid/renderscript/Allocation;Landroid/renderscript/Allocation;)V", "GetForEachDstAtop_Landroid_renderscript_Allocation_Landroid_renderscript_Allocation_Handler")]
public virtual void ForEachDstAtop (Android.Renderscripts.Allocation? ain, Android.Renderscripts.Allocation? aout);
[<Android.Runtime.Register("forEachDstAtop", "(Landroid/renderscript/Allocation;Landroid/renderscript/Allocation;)V", "GetForEachDstAtop_Landroid_renderscript_Allocation_Landroid_renderscript_Allocation_Handler")>]
abstract member ForEachDstAtop : Android.Renderscripts.Allocation * Android.Renderscripts.Allocation -> unit
override this.ForEachDstAtop : Android.Renderscripts.Allocation * Android.Renderscripts.Allocation -> unit
Parameters
- ain
- Allocation
The source buffer
- aout
- Allocation
The destination buffer
- Attributes
Remarks
dst = dst.rgb * src.a + (1.0 - dst.a) * src.rgb dst.a = src.a Note: Before API 23, the alpha channel was not correctly set. Please use with caution when targeting older APIs.
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
ForEachDstAtop(Allocation, Allocation, Script+LaunchOptions)
dst = dst.
[Android.Runtime.Register("forEachDstAtop", "(Landroid/renderscript/Allocation;Landroid/renderscript/Allocation;Landroid/renderscript/Script$LaunchOptions;)V", "GetForEachDstAtop_Landroid_renderscript_Allocation_Landroid_renderscript_Allocation_Landroid_renderscript_Script_LaunchOptions_Handler")]
public virtual void ForEachDstAtop (Android.Renderscripts.Allocation? ain, Android.Renderscripts.Allocation? aout, Android.Renderscripts.Script.LaunchOptions? opt);
[<Android.Runtime.Register("forEachDstAtop", "(Landroid/renderscript/Allocation;Landroid/renderscript/Allocation;Landroid/renderscript/Script$LaunchOptions;)V", "GetForEachDstAtop_Landroid_renderscript_Allocation_Landroid_renderscript_Allocation_Landroid_renderscript_Script_LaunchOptions_Handler")>]
abstract member ForEachDstAtop : Android.Renderscripts.Allocation * Android.Renderscripts.Allocation * Android.Renderscripts.Script.LaunchOptions -> unit
override this.ForEachDstAtop : Android.Renderscripts.Allocation * Android.Renderscripts.Allocation * Android.Renderscripts.Script.LaunchOptions -> unit
Parameters
- ain
- Allocation
The source buffer
- aout
- Allocation
The destination buffer
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.