# ScriptablePacker.PackerData

> A struct containing input data to pack sprites.

## Definition

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

```csharp
public struct ScriptablePacker.PackerData
```

## Fields

| Value                                                                                                     | Description                                                                                                                   |
| --------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| [colorData](/engine/6000.6/script-reference/unityeditor/u2d/scriptablepacker/packerdata/colordata.md)     | A NativeArray containing texture data (pixels) of all the sprites.                                                            |
| [indexData](/engine/6000.6/script-reference/unityeditor/u2d/scriptablepacker/packerdata/indexdata.md)     | A NativeArray containing indices of all the sprites.                                                                          |
| [spriteData](/engine/6000.6/script-reference/unityeditor/u2d/scriptablepacker/packerdata/spritedata.md)   | A NativeArray containing sprite data of all the sprites.                                                                      |
| [textureData](/engine/6000.6/script-reference/unityeditor/u2d/scriptablepacker/packerdata/texturedata.md) | A NativeArray containing texture data of all the sprites that includes width, height and offset to read from colorData array. |
| [vertexData](/engine/6000.6/script-reference/unityeditor/u2d/scriptablepacker/packerdata/vertexdata.md)   | A NativeArray containing vertices of all the sprites.                                                                         |
