Share via


ScriptIntrinsicBlend.ForEachAdd Method

Definition

Overloads

ForEachAdd(Allocation, Allocation)

Sets dst = min(src + dst, 1.

ForEachAdd(Allocation, Allocation, Script+LaunchOptions)

Sets dst = min(src + dst, 1.

ForEachAdd(Allocation, Allocation)

Sets dst = min(src + dst, 1.

[Android.Runtime.Register("forEachAdd", "(Landroid/renderscript/Allocation;Landroid/renderscript/Allocation;)V", "GetForEachAdd_Landroid_renderscript_Allocation_Landroid_renderscript_Allocation_Handler")]
public virtual void ForEachAdd (Android.Renderscripts.Allocation? ain, Android.Renderscripts.Allocation? aout);
[<Android.Runtime.Register("forEachAdd", "(Landroid/renderscript/Allocation;Landroid/renderscript/Allocation;)V", "GetForEachAdd_Landroid_renderscript_Allocation_Landroid_renderscript_Allocation_Handler")>]
abstract member ForEachAdd : Android.Renderscripts.Allocation * Android.Renderscripts.Allocation -> unit
override this.ForEachAdd : Android.Renderscripts.Allocation * Android.Renderscripts.Allocation -> unit

Parameters

ain
Allocation

The source buffer

aout
Allocation

The destination buffer

Attributes

Remarks

Sets dst = min(src + dst, 1.0)

Java documentation for android.renderscript.ScriptIntrinsicBlend.forEachAdd(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

ForEachAdd(Allocation, Allocation, Script+LaunchOptions)

Sets dst = min(src + dst, 1.

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

Parameters

ain
Allocation

The source buffer

aout
Allocation

The destination buffer

opt
Script.LaunchOptions

LaunchOptions for clipping

Attributes

Remarks

Java documentation for android.renderscript.ScriptIntrinsicBlend.forEachAdd(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