# SuperSamplingPattern

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


```
value class SuperSamplingPattern
```

<br />

*** ** * ** ***

Specifies the super sampling setting for this Surface. Super sampling can improve rendering quality at a performance cost.

## Summary

| ### Public companion properties |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/subspace/SuperSamplingPattern` | `https://developer.android.com/reference/kotlin/androidx/xr/compose/subspace/SuperSamplingPattern#None()` Super sampling is disabled. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/subspace/SuperSamplingPattern` | `https://developer.android.com/reference/kotlin/androidx/xr/compose/subspace/SuperSamplingPattern#Pentagon()` Super sampling is enabled with a default sampling pattern. |

| ### Public properties |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/SurfaceEntity.SuperSampling` | `https://developer.android.com/reference/kotlin/androidx/xr/compose/subspace/SuperSamplingPattern#value()` |

## Public companion properties

### None

```
val None: SuperSamplingPattern
```

Super sampling is disabled.

### Pentagon

```
val Pentagon: SuperSamplingPattern
```

Super sampling is enabled with a default sampling pattern.

## Public properties

### value

Added in [1.0.0-beta02](https://developer.android.com/jetpack/androidx/releases/xr-compose#1.0.0-beta02)

```
val value: SurfaceEntity.SuperSampling
```