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

? Examples
Sampler.Builder( RenderScript rs)
Public Methods

? Examples
Sampler create()

? Examples
void setAnisotropy(float v)

? Examples
void setMagnification( Sampler.Value v)

? Examples
void setMinification( Sampler.Value v)

? Examples
void setWrapS( Sampler.Value v)

? Examples
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

Public Methods

public Sampler create ()

Added in API level 11

public void setAnisotropy (float v)

Added in API level 11

public void setMagnification (Sampler.Value v)

Added in API level 11

public void setMinification (Sampler.Value v)

Added in API level 11

public void setWrapS (Sampler.Value v)

Added in API level 11

public void setWrapT (Sampler.Value v)

Added in API level 11

No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.