Udostępnij za pośrednictwem


ProgramStore.BLEND_ALPHA_DEPTH_NONE(RenderScript) Method

Definition

Returns a pre-defined program store object with the following characteristics: - incoming pixels always pass the depth test and their value is not stored in the depth buffer - incoming pixel's value is combined with the stored color (Dest) using the following formula Final.

[Android.Runtime.Register("BLEND_ALPHA_DEPTH_NONE", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/ProgramStore;", "")]
public static Android.Renderscripts.ProgramStore? BLEND_ALPHA_DEPTH_NONE (Android.Renderscripts.RenderScript? rs);
[<Android.Runtime.Register("BLEND_ALPHA_DEPTH_NONE", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/ProgramStore;", "")>]
static member BLEND_ALPHA_DEPTH_NONE : Android.Renderscripts.RenderScript -> Android.Renderscripts.ProgramStore

Parameters

rs
RenderScript

Context to which the program will belong.

Returns

Attributes

Remarks

Returns a pre-defined program store object with the following characteristics: - incoming pixels always pass the depth test and their value is not stored in the depth buffer - incoming pixel's value is combined with the stored color (Dest) using the following formula Final.RGB = Source.RGB * Source.A + Dest.RGB * (1 - Source.A)

Java documentation for android.renderscript.ProgramStore.BLEND_ALPHA_DEPTH_NONE(android.renderscript.RenderScript).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to