# APIOnly

> Don't draw the video content anywhere, but still make it available via the VideoPlayer's texture property in the API.

## Definition

* **Type:** Field
* **Namespace:** [UnityEngine.Video](/engine/6000.7/script-reference/unityengine/video.md)
* **Assembly:** UnityEngine.VideoModule

```csharp
APIOnly = 4
```

### Remarks

You can use this render mode to play the video into a Canvas' RawImage. You can assign the [\_texture](/engine/6000.7/script-reference/unityengine/video/videoplayer/texture.md) directly to [RawImage texture](https://docs.unity3d.com/Packages/com.unity.ugui@3.0/manual/script-RawImage.html). This lets you use video in your UI elements or any place where the API allows a texture to be assigned.
