Type Property


Specifies that the source 2D image is a vertical arrangement of six cube faces.


static let vertical: MTKTextureLoader.CubeLayout


The texture loader creates a cube texture from six faces arranged vertically within a single 2D image. The image height must be six times the image width, with faces arranged in the following order from top to bottom: +X, -X, +Y, -Y, +Z, -Z.