Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


BGRA32

Color with alpha texture format, 8-bits per channel.
Read time 1 minuteLast updated 5 days ago

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.