# YUY2

> A format that uses the YUV color space and is often used for video encoding or playback.

## Definition

* **Type:** Field
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
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](/engine/6000.0/script-reference/unityengine/texture2d/format.md), [texture assets](/engine/6000.0/manual/materials-and-shaders/textures/textures-getting-started/textures.md).
