# ScriptablePacker.TextureData

> Texture data of a specific sprite useful to get source pixels in textureData array.

## Definition

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

```csharp
public struct ScriptablePacker.TextureData
```

## Fields

| Value                                                                                                        | Description                                                                                |
| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ |
| [bufferOffset](/engine/6000.5/script-reference/unityeditor/u2d/scriptablepacker/texturedata/bufferoffset.md) | Offset of the TextureData Array from where the actual data for the current texture starts. |
| [height](/engine/6000.5/script-reference/unityeditor/u2d/scriptablepacker/texturedata/height.md)             | Height of the texture.                                                                     |
| [width](/engine/6000.5/script-reference/unityeditor/u2d/scriptablepacker/texturedata/width.md)               | Width of the texture.                                                                      |
