Global Variable

MTKTextureLoaderOptionCubeLayout

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

Declaration

MTKTextureLoaderOption MTKTextureLoaderOptionCubeLayout;

Discussion

The value for this key is one of the values listed for MTKTextureLoaderCubeLayout. 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

MTKTextureLoaderCubeLayout

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