Contents

depth

The depth of the texture image for the base level mipmap, in pixels.

Declaration

var depth: Int { get }

Discussion

For 1D, 2D, and cube textures, the value is 1.

See Also

Querying texture attributes