vulkanNumSwapchainBuffers
Set the number of swapchain buffers used when rendering with Vulkan.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Property
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public static uint vulkanNumSwapchainBuffers { get; set; }
Remarks
The swapchain manages the sequence of images that are presented to the display.
Valid range: buffers. The default value is .
2-33- : Lowers latency but requires precise synchronization between rendering and presentation. Frame stuttering might occur if the renderer can't match the display refresh rate.
2 - : Provides better frame pacing and more consistent performance, at the cost of slightly higher latency.
3
Note: In the Editor, this value is always locked to during Play mode to ensure stable playback while editing. The setting is applied in builds and when not in Play mode.
3