ScriptIntrinsicBlend.ForEachSubtract 方法

定义

重载

ForEachSubtract(Allocation, Allocation)

设置 dst = max(dst - src,0。

ForEachSubtract(Allocation, Allocation, Script+LaunchOptions)

设置 dst = max(dst - src,0。

ForEachSubtract(Allocation, Allocation)

设置 dst = max(dst - src,0。

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

参数

ain
Allocation

源缓冲区

aout
Allocation

目标缓冲区

属性

注解

设置 dst = max(dst - src,0.0)

适用于 . 的 android.renderscript.ScriptIntrinsicBlend.forEachSubtract(android.renderscript.Allocation, android.renderscript.Allocation)Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于

ForEachSubtract(Allocation, Allocation, Script+LaunchOptions)

设置 dst = max(dst - src,0。

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

参数

ain
Allocation

源缓冲区

aout
Allocation

目标缓冲区

opt
Script.LaunchOptions

用于剪辑的 LaunchOptions

属性

注解

适用于 . 的 android.renderscript.ScriptIntrinsicBlend.forEachSubtract(android.renderscript.Allocation, android.renderscript.Allocation)Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于