Share via


Sampler.CLAMP_LINEAR(RenderScript) Method

Definition

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

[Android.Runtime.Register("CLAMP_LINEAR", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Sampler;", "")]
public static Android.Renderscripts.Sampler? CLAMP_LINEAR (Android.Renderscripts.RenderScript? rs);
[<Android.Runtime.Register("CLAMP_LINEAR", "(Landroid/renderscript/RenderScript;)Landroid/renderscript/Sampler;", "")>]
static member CLAMP_LINEAR : 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 linear and wrap modes set to clamp.

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