語言

RenderScriptGL.SurfaceConfig.SetColor(Int32, Int32) 方法

定義

警告

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

參數

minimum
Int32

minimum

preferred
Int32

首選

屬性

備註

此會員已被棄用。 在 API 16 中設定每個元件的位元深度(紅色、綠色、藍色)。 此方法為無符號整數緩衝區類型配置曲面。

Java 文件 android.renderscript.RenderScriptGL.SurfaceConfig.setColor(int, int)

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於