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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software