# RenderingMode

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

*** ** * ** ***


```
public final class RenderingMode
```

<br />

*** ** * ** ***

A device capability that determines what type of rendering is capable on an `https://developer.android.com/reference/androidx/xr/runtime/XrDevice`.

## Summary

| ### Public fields |
|---|---|
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/RenderingMode` | `https://developer.android.com/reference/androidx/xr/runtime/RenderingMode#MONO()` The device supports monocular rendering. |
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/RenderingMode` | `https://developer.android.com/reference/androidx/xr/runtime/RenderingMode#STEREO()` The device supports binocular (stereoscopic) rendering. |

| ### Public methods |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/xr/runtime/RenderingMode#toString()()` Returns a string representation of `https://developer.android.com/reference/androidx/xr/runtime/RenderingMode` for debugging. |

## Public fields

### MONO

```
public static final @NonNull RenderingMode MONO
```

The device supports monocular rendering.

### STEREO

```
public static final @NonNull RenderingMode STEREO
```

The device supports binocular (stereoscopic) rendering.

## Public methods

### toString

```
public @NonNull String toString()
```

Returns a string representation of `https://developer.android.com/reference/androidx/xr/runtime/RenderingMode` for debugging.

Note: Not intended for production use.