Language

ProgramStore.Builder.SetDepthMaskEnabled(Boolean) Method

Definition

Sets whether depth-buffer writes are permitted.

[Android.Runtime.Register("setDepthMaskEnabled", "(Z)Landroid/renderscript/ProgramStore$Builder;", "GetSetDepthMaskEnabled_ZHandler")]
public virtual Android.Renderscripts.ProgramStore.Builder SetDepthMaskEnabled(bool enable);
[<Android.Runtime.Register("setDepthMaskEnabled", "(Z)Landroid/renderscript/ProgramStore$Builder;", "GetSetDepthMaskEnabled_ZHandler")>]
abstract member SetDepthMaskEnabled : bool -> Android.Renderscripts.ProgramStore.Builder
override this.SetDepthMaskEnabled : bool -> Android.Renderscripts.ProgramStore.Builder

Parameters

enable
Boolean

True to permit writes to the depth buffer; false to prevent them.

Returns

This builder.

Attributes

Remarks

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