# TextureData

> TextureData holds information about a texture in the sprite atlas.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEngine.U2D](/engine/6000.5/script-reference/unityengine/u2d.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public struct TextureData
```

## Fields

| Value                                                                             | Description                                            |
| --------------------------------------------------------------------------------- | ------------------------------------------------------ |
| [mapName](/engine/6000.5/script-reference/unityengine/u2d/texturedata/mapname.md) | Name of the material map associated with this texture. |
| [texture](/engine/6000.5/script-reference/unityengine/u2d/texturedata/texture.md) | Entity ID of the packed texture.                       |
