Android APIs
public static class

Sampler.Builder

extends Object
java.lang.Object
   ↳ android.renderscript.Sampler.Builder

Class Overview

Builder for creating non-standard samplers. This is only necessary if a Sampler with different min and mag modes is desired.

Summary

Public Constructors
Sampler.Builder(RenderScript rs)
Public Methods
Sampler create()
void setAnisotropy(float v)
void setMagnification(Sampler.Value v)
void setMinification(Sampler.Value v)
void setWrapS(Sampler.Value v)
void setWrapT(Sampler.Value v)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Sampler.Builder (RenderScript rs)

Added in API level 11

Parameters
rs RenderScript

Public Methods

public Sampler create ()

Added in API level 11

Returns
Sampler

public void setAnisotropy (float v)

Added in API level 11

Parameters
v float

public void setMagnification (Sampler.Value v)

Added in API level 11

Parameters
v Sampler.Value

public void setMinification (Sampler.Value v)

Added in API level 11

Parameters
v Sampler.Value

public void setWrapS (Sampler.Value v)

Added in API level 11

Parameters
v Sampler.Value

public void setWrapT (Sampler.Value v)

Added in API level 11

Parameters
v Sampler.Value