# Texture.Sampler

public static class **Texture.Sampler** Controls what settings are used to sample Textures when rendering.

### Nested Classes

|---|---|---|---|
| class | [Texture.Sampler.Builder](https://developers.google.com/sceneform/reference/com/google/ar/sceneform/rendering/Texture.Sampler.Builder) || Builder for constructing Sampler objects. |
| enum | [Texture.Sampler.MagFilter](https://developers.google.com/sceneform/reference/com/google/ar/sceneform/rendering/Texture.Sampler.MagFilter) || Options for Magnification Filter function. |
| enum | [Texture.Sampler.MinFilter](https://developers.google.com/sceneform/reference/com/google/ar/sceneform/rendering/Texture.Sampler.MinFilter) || Options for Minification Filter function. |
| enum | [Texture.Sampler.WrapMode](https://developers.google.com/sceneform/reference/com/google/ar/sceneform/rendering/Texture.Sampler.WrapMode) || Options for Wrap Mode function. |

### Public Methods

|---|---|
| static [Texture.Sampler.Builder](https://developers.google.com/sceneform/reference/com/google/ar/sceneform/rendering/Texture.Sampler.Builder) | [builder](https://developers.google.com/sceneform/reference/com/google/ar/sceneform/rendering/Texture.Sampler#builder())() |
| [Texture.Sampler.MagFilter](https://developers.google.com/sceneform/reference/com/google/ar/sceneform/rendering/Texture.Sampler.MagFilter) | [getMagFilter](https://developers.google.com/sceneform/reference/com/google/ar/sceneform/rendering/Texture.Sampler#getMagFilter())() Get the magnification function used whenever the level-of-detail function determines that the texture should be magnified. |
| [Texture.Sampler.MinFilter](https://developers.google.com/sceneform/reference/com/google/ar/sceneform/rendering/Texture.Sampler.MinFilter) | [getMinFilter](https://developers.google.com/sceneform/reference/com/google/ar/sceneform/rendering/Texture.Sampler#getMinFilter())() Get the minifying function used whenever the level-of-detail function determines that the texture should be minified. |
| [Texture.Sampler.WrapMode](https://developers.google.com/sceneform/reference/com/google/ar/sceneform/rendering/Texture.Sampler.WrapMode) | [getWrapModeR](https://developers.google.com/sceneform/reference/com/google/ar/sceneform/rendering/Texture.Sampler#getWrapModeR())() Get the wrap mode for texture coordinate R. |
| [Texture.Sampler.WrapMode](https://developers.google.com/sceneform/reference/com/google/ar/sceneform/rendering/Texture.Sampler.WrapMode) | [getWrapModeS](https://developers.google.com/sceneform/reference/com/google/ar/sceneform/rendering/Texture.Sampler#getWrapModeS())() Get the wrap mode for texture coordinate S. |
| [Texture.Sampler.WrapMode](https://developers.google.com/sceneform/reference/com/google/ar/sceneform/rendering/Texture.Sampler.WrapMode) | [getWrapModeT](https://developers.google.com/sceneform/reference/com/google/ar/sceneform/rendering/Texture.Sampler#getWrapModeT())() Get the wrap mode for texture coordinate T. |

### Inherited Methods

From class java.lang.Object

|---|---|
| [Object](https://developer.android.com/reference/java/lang/Object) | clone() |
| boolean | equals([Object](https://developer.android.com/reference/java/lang/Object) arg0) |
| void | finalize() |
| final [Class](https://developer.android.com/reference/java/lang/Class)\<?\> | getClass() |
| int | hashCode() |
| final void | notify() |
| final void | notifyAll() |
| [String](https://developer.android.com/reference/java/lang/String) | toString() |
| final void | wait(long arg0, int arg1) |
| final void | wait(long arg0) |
| final void | wait() |

## Public Methods

#### public static [Texture.Sampler.Builder](https://developers.google.com/sceneform/reference/com/google/ar/sceneform/rendering/Texture.Sampler.Builder)
**builder**
()

<br />

#### public [Texture.Sampler.MagFilter](https://developers.google.com/sceneform/reference/com/google/ar/sceneform/rendering/Texture.Sampler.MagFilter)
**getMagFilter**
()

Get the magnification function used whenever the level-of-detail function determines that the
texture should be magnified.

#### public [Texture.Sampler.MinFilter](https://developers.google.com/sceneform/reference/com/google/ar/sceneform/rendering/Texture.Sampler.MinFilter)
**getMinFilter**
()

Get the minifying function used whenever the level-of-detail function determines that the
texture should be minified.

#### public [Texture.Sampler.WrapMode](https://developers.google.com/sceneform/reference/com/google/ar/sceneform/rendering/Texture.Sampler.WrapMode)
**getWrapModeR**
()

Get the wrap mode for texture coordinate R. The wrap mode determines how a texture is
rendered for uv coordinates outside the range of \[0, 1\].

#### public [Texture.Sampler.WrapMode](https://developers.google.com/sceneform/reference/com/google/ar/sceneform/rendering/Texture.Sampler.WrapMode)
**getWrapModeS**
()

Get the wrap mode for texture coordinate S. The wrap mode determines how a texture is
rendered for uv coordinates outside the range of \[0, 1\].

#### public [Texture.Sampler.WrapMode](https://developers.google.com/sceneform/reference/com/google/ar/sceneform/rendering/Texture.Sampler.WrapMode)
**getWrapModeT**
()

Get the wrap mode for texture coordinate T. The wrap mode determines how a texture is
rendered for uv coordinates outside the range of \[0, 1\].