AndroidBlitType

enumeration

Cambiar al Manual

Descripción

Describes the method for how content is displayed on the screen.

Options are as follows:

Use Always to render offscreen and blit to the backbuffer. Use Never to render directly to the backbuffer. Use Auto or automatically choose the most appropriate option.

Depending on the device, AndroidBlitType.Never may not support switching MSAA settings at runtime or rendering at non-native resolution. AndroidBlitType.Never does not provide a sRGB backbuffer. Linear rendering requires a framebuffer that does sRGB read/write conversions (see RenderTexture.sRGB), otherwise the generated image typically appears too dark. Therefore AndroidBlitType.Never is not recommended when linear rendering is used. If you want to use linear rendering with AndroidBlitType.Never despite this information, you have to setup your own sRGB render target and handle the blit to the backbuffer.

AndroidBlitType is ignored when the Vulkan Graphics API is used.

Variables

AlwaysAlways render offscreen and blit to the backbuffer.
NeverNever render offscreen and blit to the backbuffer. Always render directly to the backbuffer.
AutoAutomatically determine the most appropriate method for drawing to the screen.
Copyright © 2020 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961