Contents

cubeLayout

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

Declaration

static let cubeLayout: MTKTextureLoader.Option

Discussion

The value for this key is one of the values listed for MTKTextureLoader.CubeLayout. If this option is omitted, the texture loader does not create a cube texture.

This option cannot be used with PVR files, KTX files, or MDLTexture objects, which support cube textures directly.

See Also

Specifying Cube Layout