Version: 2022.3
LanguageEnglish
  • C#

PlayerSettings.allowHDRDisplaySupport

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 allowHDRDisplaySupport;

Description

Prepare the application to encode images for an HDR display.

When you enable allowHDRDisplaySupport, the application build includes all the resources, such as shaders, that are required to correctly encode the final output for an HDR display.

Disabling this setting also disables PlayerSettings.useHDRDisplay because you cannot use a display in HDR mode without the required resources.

Enable this setting without enabling PlayerSettings.useHDRDisplay if you don't want to use the main display in HDR mode, but do want to use an XR Display in HDR mode.

See Also: PlayerSettings.useHDRDisplay.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961