Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

PlayerSettings.vulkanEnableSetSRGBWrite

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Switch to Manual
public static bool vulkanEnableSetSRGBWrite;

Description

Enables Graphics.SetSRGBWrite() on Vulkan renderer.

If enabled, allows toggling sRGB write mode on/off at runtime (this setting is always enabled in the editor). Enabling this setting causes an extra blit when presenting the back buffer, and may cause additional performance degradation, especially on tile-based GPUs. This setting should be kept disabled unless toggling sRGB write mode is required by the application.