Version: 2017.1

Description

A 16 bit color texture format that only has a red channel.

The value of the red channel will be in the 0..1 range. Currently, this texture format is only useful for native code plugins as there is no support for texture importing or pixel access for this format. R16 is implemented for Direct3D 9, Direct3D 11, and Xbox One.

Note that not all graphics cards support all texture formats, use SystemInfo.SupportsTextureFormat to check.

See Also: Texture2D.format, texture assets.

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