---
title: vertical
framework: metalkit
role: symbol
role_heading: Type Property
path: metalkit/mtktextureloader/cubelayout/vertical
---

# vertical

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

## Declaration

```swift
static let vertical: MTKTextureLoader.CubeLayout
```

## Discussion

Discussion 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.
