Contents

depth

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

Declaration

var depth: Int { get set }

Discussion

The default value is 1. The value needs to be greater than or equal to 1. For 1D, 2D, and cube textures, the value needs to be 1.

See Also

Specifying texture attributes