Contents

arrayLength

The number of slices in the texture array.

Declaration

var arrayLength: Int { get }

Discussion

The value of this property ranges from 1 to 2048, inclusive. If the texture type is not an array, this value is 1.

See Also

Querying texture attributes