---
title: metalFramebufferOnly
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityeditor/playersettings/metalframebufferonly
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityeditor/playersettings/metalframebufferonly.md
last_updated: 2026-11-20
generated_at: 2026-11-25T03:06:04.471Z
locale: en-us
---

# metalFramebufferOnly

> Makes the Metal backbuffer write-only.

## Definition

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

```csharp
public static bool metalFramebufferOnly { get; set; }
```

### Remarks

When the value is `true`, Unity sets the [CAMetalLayer.framebufferOnly](https://developer.apple.com/documentation/quartzcore/cametallayer/framebufferonly) property on the Metal layer. This lets the driver optimize the backbuffer for display, but you can't read from it. Calls that read the backbuffer, such as [ScreenCapture.CaptureScreenshot](/engine/7000.0/script-reference/unityengine/screencapture/capturescreenshot.md), don't work when the value is `true`. Unity logs an error, and the captured image doesn't contain the rendered frame.

This property corresponds to **Metal Write-Only Backbuffer** in [Player settings](/engine/7000.0/manual/unity-editor/editor-settings-reference/comp-manager-group/class-player-settings.md) (**Other Settings** > **Rendering**). It affects only Apple platforms that use the Metal graphics API.

The default value is `false`.
