ScriptIntrinsicBlend.ForEachDstAtop Método

Definición

Sobrecargas

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

Parámetros

ain
Allocation

Búfer de origen

aout
Allocation

Búfer de destino

Atributos

Comentarios

dst = dst.rgb * src.a + (1.0 - dst.a) * src.rgb dst.a = src.a Nota: Antes de la API 23, el canal alfa no se estableció correctamente. Tenga cuidado al dirigirse a las API anteriores.

Java documentación para android.renderscript.ScriptIntrinsicBlend.forEachDstAtop(android.renderscript.Allocation, android.renderscript.Allocation).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a

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

Parámetros

ain
Allocation

Búfer de origen

aout
Allocation

Búfer de destino

opt
Script.LaunchOptions

LaunchOptions para el recorte

Atributos

Comentarios

Java documentación para android.renderscript.ScriptIntrinsicBlend.forEachDstAtop(android.renderscript.Allocation, android.renderscript.Allocation).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a