# maxTextureArraySlices

> Maximum number of slices in a Texture array (Read Only).

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public static int maxTextureArraySlices { get; }
```

### Remarks

This is the largest Texture array size that your graphics hardware supports. Even if a GPU supports a large Texture array size, it might not have enough memory to create it. For example, 256 slices of 2048x2048x256 2D Texture images at 32 bits per pixel requires 4 gigabytes of data to create.

Additional Resources: [SystemInfo.maxTextureSize](/engine/6000.7/script-reference/unityengine/systeminfo/maxtexturesize.md), [Texture2DArray](/engine/6000.7/script-reference/unityengine/texture2darray.md).
