Share via


Sampler.CLAMP_NEAREST(RenderScript) Method

Definition

Retrieve a sampler with min and mag set to nearest and wrap modes set to clamp.

[Android.Runtime.Register("CLAMP_NEAREST", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Sampler;", "")]
public static Android.Renderscripts.Sampler? CLAMP_NEAREST (Android.Renderscripts.RenderScript? rs);
[<Android.Runtime.Register("CLAMP_NEAREST", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Sampler;", "")>]
static member CLAMP_NEAREST : Android.Renderscripts.RenderScript -> Android.Renderscripts.Sampler

Parameters

rs
RenderScript

Context to which the sampler will belong.

Returns

Sampler

Attributes

Remarks

Retrieve a sampler with min and mag set to nearest and wrap modes set to clamp.

Java documentation for android.renderscript.Sampler.CLAMP_NEAREST(android.renderscript.RenderScript).

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