public static bool transparentSwapchain ;

Descripción

Sets AlphaMode on the swap chain to DXGI_ALPHA_MODE_PREMULTIPLIED.

This setting is only used for UWP projects that use the XAML build type. By enabling this setting, you will be able to compose Unity content with other XAML content in your application. Note that because the swapchain assumes premultiplied alpha, you may need to make adjustments to your content to achieve the expected output, particularly for transparent content.

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