# TextureSampler.WrapMode

Artifact: [androidx.xr.scenecore:scenecore](https://developer.android.com/jetpack/androidx/releases/xr-scenecore) [View Source](https://cs.android.com/search?q=file:androidx/xr/scenecore/TextureSampler.kt+class:androidx.xr.scenecore.TextureSampler.WrapMode) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-scenecore#1.0.0)

*** ** * ** ***


```
class TextureSampler.WrapMode
```

<br />

*** ** * ** ***

Defines the constants for texture wrap modes.

## Summary

| ### Public companion properties |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/TextureSampler.WrapMode` | `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/TextureSampler.WrapMode#CLAMP_TO_EDGE()` The edge of the texture extends to infinity. |
| `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/TextureSampler.WrapMode` | `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/TextureSampler.WrapMode#MIRRORED_REPEAT()` The texture infinitely repeats and mirrors in the wrap direction. |
| `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/TextureSampler.WrapMode` | `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/TextureSampler.WrapMode#REPEAT()` The texture infinitely repeats in the wrap direction. |

| ### Public functions |
|---|---|
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/TextureSampler.WrapMode#toString()()` |

## Public companion properties

### CLAMP_TO_EDGE

```
val CLAMP_TO_EDGE: TextureSampler.WrapMode
```

The edge of the texture extends to infinity.

### MIRRORED_REPEAT

```
val MIRRORED_REPEAT: TextureSampler.WrapMode
```

The texture infinitely repeats and mirrors in the wrap direction.

### REPEAT

```
val REPEAT: TextureSampler.WrapMode
```

The texture infinitely repeats in the wrap direction.

## Public functions

### toString

```
open fun toString(): String
```