Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


YUY2

A format that uses the YUV color space and is often used for video encoding or playback.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
YUY2 = 21

Remarks

Currently, this texture format is only useful for native code plug-ins as it doesn't support texture importing or pixel access. YUY2 format is implemented for Direct3D 9 and Direct3D 11.
Additional Resources: Texture2D.format, texture assets.