# TextureToRT

> Support for Texture to RenderTexture copies in Graphics.CopyTexture.

## Definition

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

```csharp
TextureToRT = 8
```

### Remarks

Not all platforms can copy from a [Texture2D](/engine/6000.0/script-reference/unityengine/texture2d.md) into a [RenderTexture](/engine/6000.0/script-reference/unityengine/rendertexture.md) directly. For example, Direct3D9 currently can not do this. See [CopyTextureSupport](/engine/6000.0/script-reference/unityengine/rendering/copytexturesupport.md) for an overview.
