Contents

depth

The depth of the texture image, in pixels.

Declaration

@MainActor @preconcurrency var depth: Int { get }

Discussion

The value is 0 if the texture isn’t a 3D texture.

See Also

Describing the texture