# SurfaceEntity.SuperSampling

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/SurfaceEntity.kt+class:androidx.xr.scenecore.SurfaceEntity.SuperSampling) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-scenecore#1.0.0)

*** ** * ** ***


```
class SurfaceEntity.SuperSampling
```

<br />

*** ** * ** ***

Specifies whether super sampling should be enabled for this surface. Super sampling can improve text clarity at a performance cost.

## Summary

| ### Public companion properties |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/SurfaceEntity.SuperSampling` | `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/SurfaceEntity.SuperSampling#NONE()` Super sampling is disabled. |
| `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/SurfaceEntity.SuperSampling` | `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/SurfaceEntity.SuperSampling#PENTAGON()` Super sampling is enabled with a default sampling pattern. |

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

## Public companion properties

### NONE

```
val NONE: SurfaceEntity.SuperSampling
```

Super sampling is disabled.

### PENTAGON

```
val PENTAGON: SurfaceEntity.SuperSampling
```

Super sampling is enabled with a default sampling pattern. This is the value that is set if SuperSampling is not specified when the Entity is created.

## Public functions

### toString

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