# TexCoord0

> Primary texture coordinate (UV).

## Definition

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

```csharp
TexCoord0 = 4
```

### Remarks

UVs usually use [Vector2](/engine/6000.0/script-reference/unityengine/vector2.md) format. Vector2 uses two 32-bit floats; 8 bytes in total.

This vertex attribute maps to the `TEXCOORD0` semantic in HLSL. This UV channel is also commonly called "UV0". It corresponds to [Mesh.uv](/engine/6000.0/script-reference/unityengine/mesh/uv.md).

Additional Resources: [Mesh.HasVertexAttribute](/engine/6000.0/script-reference/unityengine/mesh/hasvertexattribute.md), [Mesh.GetUVs](/engine/6000.0/script-reference/unityengine/mesh/getuvs.md), [Mesh.SetUVs](/engine/6000.0/script-reference/unityengine/mesh/setuvs.md).
