# vulkanNumSwapchainBuffers

> Set the number of swapchain buffers used when rendering with Vulkan.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor](/engine/6000.7/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static uint vulkanNumSwapchainBuffers { get; set; }
```

### Remarks

The swapchain manages the sequence of images that are presented to the display.

Valid range: `2-3` buffers. The default value is `3`.

* `2`: Lowers latency but requires precise synchronization between rendering and presentation. Frame stuttering might occur if the renderer can't match the display refresh rate.
* `3`: Provides better frame pacing and more consistent performance, at the cost of slightly higher latency.

**Note**: In the Editor, this value is always locked to `3` during Play mode to ensure stable playback while editing. The setting is applied in builds and when not in Play mode.
