# Texture

> The shader resource is a texture. The dimensionality of the resource, for example 2D or Cube, is not part of the base type.

## Definition

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

```csharp
Texture = 3
```
