Documentation

Unity Engine

Unity Engine

RGB24

Three channel (RGB) texture format, 8-bits unsigned integer per channel.
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
RGB24 = 3

Remarks

Note that there are almost no GPUs that support this format natively, so at texture load time it is converted into an TextureFormat.RGBA32 format. RGB24 is thus only useful for some game build size savings.
Additional Resources: Texture2D, texture assets.