Share via


ProgramStore.BLEND_ALPHA_DEPTH_TEST(RenderScript) Method

Definition

Returns a pre-defined program store object with the following characteristics: - incoming pixels are drawn if their depth value is less than the stored value in the depth buffer.

[Android.Runtime.Register("BLEND_ALPHA_DEPTH_TEST", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/ProgramStore;", "")]
public static Android.Renderscripts.ProgramStore? BLEND_ALPHA_DEPTH_TEST (Android.Renderscripts.RenderScript? rs);
[<Android.Runtime.Register("BLEND_ALPHA_DEPTH_TEST", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/ProgramStore;", "")>]
static member BLEND_ALPHA_DEPTH_TEST : 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 are drawn if their depth value is less than the stored value in the depth buffer. If the pixel is drawn, its value is also stored in the depth buffer - if the incoming (Source) pixel passes depth test, its 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_TEST(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