The document says: "For 1D, 2D, and cube textures, the depth value is 1". But in an MTLTexture of type 2DArray, isn't the depth also 1?
1 Answer
Yes. For purposes of that documentation, a 2DArray texture falls under 2D textures. (It's conceptually an array of 2D textures, all of whose depth
is 1.) It's a roundabout way of saying "For non-3D textures, the depth value is 1".