Sdílet prostřednictvím


RenderScriptGL.SurfaceConfig.SetColor(Int32, Int32) Method

Definition

Caution

deprecated

This member is deprecated.

[Android.Runtime.Register("setColor", "(II)V", "GetSetColor_IIHandler")]
[System.Obsolete("deprecated")]
public virtual void SetColor (int minimum, int preferred);
[<Android.Runtime.Register("setColor", "(II)V", "GetSetColor_IIHandler")>]
[<System.Obsolete("deprecated")>]
abstract member SetColor : int * int -> unit
override this.SetColor : int * int -> unit

Parameters

minimum
Int32

minimum

preferred
Int32

preferred

Attributes

Remarks

This member is deprecated. in API 16 Set the per-component bit depth for color (red, green, blue). This configures the surface for an unsigned integer buffer type.

Java documentation for android.renderscript.RenderScriptGL.SurfaceConfig.setColor(int, int).

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