# GameViewRenderMode

> Enumeration of available modes for XR rendering in the Game view or in the main window on a host PC. XR rendering only occurs when the Unity Editor is in Play Mode.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEngine.XR](/engine/6000.6/script-reference/unityengine/xr.md)
* **Assembly:** UnityEngine.XRModule

```csharp
public enum GameViewRenderMode
```

## Fields

| Value                                                                                               | Description                                                                                                                                                              |
| --------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [BothEyes](/engine/6000.6/script-reference/unityengine/xr/gameviewrendermode/botheyes.md)           | Renders both eyes of the XR device side-by-side in the Game view or in the main window on a host PC.                                                                     |
| [LeftEye](/engine/6000.6/script-reference/unityengine/xr/gameviewrendermode/lefteye.md)             | Renders the left eye of the XR device in the Game View window or in main window on a host PC.                                                                            |
| [MotionVectors](/engine/6000.6/script-reference/unityengine/xr/gameviewrendermode/motionvectors.md) | Renders both eyes (motion vectors) of the XR device side-by-side in the Game view or in the main window on a host PC. Only works if the motion vector texture is in-use. |
| [None](/engine/6000.6/script-reference/unityengine/xr/gameviewrendermode/none.md)                   | Disables rendering of any new frames from the eyes in the Game view or in the main window on a host PC.                                                                  |
| [OcclusionMesh](/engine/6000.6/script-reference/unityengine/xr/gameviewrendermode/occlusionmesh.md) | Renders both eyes of the XR device, and the occlusion mesh, side-by-side in the Game view or in the main window on a host PC.                                            |
| [RightEye](/engine/6000.6/script-reference/unityengine/xr/gameviewrendermode/righteye.md)           | Renders the right eye of the XR device in the Game View window or in main window on a host PC.                                                                           |
