Structure

MTKTextureLoader.CubeLayout

Options for specifying how cube texture data is arranged in the source image.

Declaration

struct CubeLayout

Topics

Creating Cube Texture Layout Options

init(rawValue: String)

Creates a cube layout option from a raw string value.

Specifying Cube Texture Layout Options

static let vertical: MTKTextureLoader.CubeLayout

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

Relationships

See Also

Specifying Cube Layout

static let cubeLayout: MTKTextureLoader.Option

A key used to specify how cube texture data is arranged in the source image.