Compartilhar via


Sampler.WRAP_NEAREST(RenderScript) Method

Definition

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

[Android.Runtime.Register("WRAP_NEAREST", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Sampler;", "")]
public static Android.Renderscripts.Sampler? WRAP_NEAREST (Android.Renderscripts.RenderScript? rs);
[<Android.Runtime.Register("WRAP_NEAREST", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Sampler;", "")>]
static member WRAP_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 wrap.

Java documentation for android.renderscript.Sampler.WRAP_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