ScriptIntrinsicBlend.ForEachDstAtop 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| 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
參數
- ain
- Allocation
來源緩衝區
- aout
- Allocation
目的緩衝區
- 屬性
備註
dst = dst.rgb * src.a + (1.0 - dst.a) * src.rgb dst.a = src.a 注意:在 API 23 之前,alpha 通道並未正確設定。 在針對較舊的 API 時,請謹慎使用。
本頁部分內容為基於 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
目的緩衝區
剪裁的啟動選項
- 屬性
備註
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。