to top
Android APIs
public static class

Sampler.Builder

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

Class Overview

Builder for creating non-standard samplers. Usefull if mix and match of wrap modes is necesary or if anisotropic filtering 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)

Since: API Level 11

Public Methods

public Sampler create ()

Since: API Level 11

public void setAnisotropy (float v)

Since: API Level 11

public void setMagnification (Sampler.Value v)

Since: API Level 11

public void setMinification (Sampler.Value v)

Since: API Level 11

public void setWrapS (Sampler.Value v)

Since: API Level 11

public void setWrapT (Sampler.Value v)

Since: API Level 11