Contents

arrayLength

The number of slices in the texture array.

Declaration

@MainActor @preconcurrency var arrayLength: Int { get }

Discussion

The value is 0 if it isn’t a texture array.

See Also

Describing the texture