Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ARGB32

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

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
ARGB32 = 5

Remarks

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: A, R, G, B bytes one after another.
Note that TextureFormat.RGBA32 format might be slightly more efficient as the data layout in memory more closely matches what the graphics APIs expect.
Additional Resources: Texture2D, texture assets.