RenderScriptGL.SurfaceConfig.SetSamples(Int32, Int32, Single) Method

Definition

Caution

deprecated

This member is deprecated.

[Android.Runtime.Register("setSamples", "(IIF)V", "GetSetSamples_IIFHandler")]
[System.Obsolete("deprecated")]
public virtual void SetSamples (int minimum, int preferred, float Q);
[<Android.Runtime.Register("setSamples", "(IIF)V", "GetSetSamples_IIFHandler")>]
[<System.Obsolete("deprecated")>]
abstract member SetSamples : int * int * single -> unit
override this.SetSamples : int * int * single -> unit

Parameters

minimum
Int32

The required number of samples, must be at least 1.

preferred
Int32

The targe number of samples, must be at least minimum

Q
Single

The quality of samples, range 0-1. Used to decide between different formats which have the same number of samples but different rendering quality.

Attributes

Remarks

This member is deprecated. in API 16 Configure the multisample rendering.

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

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