Language

ProgramStore.Builder.SetColorMaskEnabled Method

Definition

Sets which color channels can be written.

[Android.Runtime.Register("setColorMaskEnabled", "(ZZZZ)Landroid/renderscript/ProgramStore$Builder;", "GetSetColorMaskEnabled_ZZZZHandler")]
public virtual Android.Renderscripts.ProgramStore.Builder SetColorMaskEnabled(bool r, bool g, bool b, bool a);
[<Android.Runtime.Register("setColorMaskEnabled", "(ZZZZ)Landroid/renderscript/ProgramStore$Builder;", "GetSetColorMaskEnabled_ZZZZHandler")>]
abstract member SetColorMaskEnabled : bool * bool * bool * bool -> Android.Renderscripts.ProgramStore.Builder
override this.SetColorMaskEnabled : bool * bool * bool * bool -> Android.Renderscripts.ProgramStore.Builder

Parameters

r
Boolean

True to permit writes to the red channel.

g
Boolean

True to permit writes to the green channel.

b
Boolean

True to permit writes to the blue channel.

a
Boolean

True to permit writes to the alpha channel.

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