語言

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)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

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

剪裁的啟動選項

屬性

備註

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

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於