语言

ScriptIntrinsicBlend.ForEachDstAtop 方法

定义

重载

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

参数

ain
Allocation

源缓冲区

aout
Allocation

目标缓冲区

特性

注解

dst = dst.rgb * src.a + (1.0 - dst.a) * src.rgb dst.a = src.a 注意:在 API 23 之前,alpha 通道未正确设置。 面向较旧的 API 时,请谨慎使用。

Java文档android.renderscript.ScriptIntrinsicBlend.forEachDstAtop(android.renderscript.Allocation, android.renderscript.Allocation)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

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

参数

ain
Allocation

源缓冲区

aout
Allocation

目标缓冲区

opt
Script.LaunchOptions

用于剪辑的 LaunchOptions

特性

注解

Java文档android.renderscript.ScriptIntrinsicBlend.forEachDstAtop(android.renderscript.Allocation, android.renderscript.Allocation)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于