ProgramStore.BLEND_ALPHA_DEPTH_TEST(RenderScript) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
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.