Share via


RenderScriptGL.SurfaceConfig.SetDepth(Int32, Int32) Method

Definition

Caution

deprecated

This member is deprecated.

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

Parameters

minimum
Int32

minimum

preferred
Int32

preferred

Attributes

Remarks

This member is deprecated. in API 16 Set the bit depth for the depth buffer. This configures the surface for an unsigned integer buffer type. If a minimum of 0 is specified then its possible no depth buffer will be allocated.

Java documentation for android.renderscript.RenderScriptGL.SurfaceConfig.setDepth(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