文档

Unity Engine

Unity Engine

BGRA32

Color with alpha texture format, 8-bits per channel.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
BGRA32 = 14

Remarks

BGRA32 format is used by WebCamTexture on some platforms. Each of RGBA color channels is stored as an 8-bit value in [0..1] range. In memory, the channel data is ordered this way: B, G, R, A bytes one after another.
Additional Resources: Texture2D.format, texture assets.