maxTextureArraySlices
Maximum number of slices in a Texture array (Read Only).
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
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, Texture2DArray.