Android APIs
public static class

Sampler.Builder

extends Object
java.lang.Object
   ↳ android.support.v8.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)

Parameters
rs RenderScript

Public Methods

public Sampler create ()

Returns
Sampler

public void setAnisotropy (float v)

Parameters
v float

public void setMagnification (Sampler.Value v)

Parameters
v Sampler.Value

public void setMinification (Sampler.Value v)

Parameters
v Sampler.Value

public void setWrapS (Sampler.Value v)

Parameters
v Sampler.Value

public void setWrapT (Sampler.Value v)

Parameters
v Sampler.Value