Version: Unity 6.7 Alpha (6000.7)
LanguageEnglish
  • C#

SystemInfo.supportsSwapChainPreTransform

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

public static bool supportsSwapChainPreTransform;

Description

Returns true if the platform supports swapchain pre-transform (Vulkan on Android).

When pre-transform is supported and Apply display rotation during rendering is enabled in Player Settings, Unity rotates rendering to the display's native orientation during rendering instead of relying on the OS compositor to rotate the final image.

Additional resources: QualitySettings.disableSwapChainPreTransform, PlayerSettings.vulkanEnablePreTransform.