Type Alias

MTKTextureLoaderOption

Keys and values used to specify loading options.

Declaration

typedef NSString *MTKTextureLoaderOption;

Topics

Specifying Mipmap Options

MTKTextureLoaderOptionAllocateMipmaps

A key used to specify whether the texture loader should allocate memory for mipmaps in the texture.

MTKTextureLoaderOptionGenerateMipmaps

A key used to specify whether the texture loader should generate mipmaps for the texture.

Specifying Resource Options

MTKTextureLoaderOptionTextureCPUCacheMode

A key used to specify the CPU cache mode for the texture.

MTKTextureLoaderOptionTextureStorageMode

A key used to specify the storage mode for the texture.

MTKTextureLoaderOptionTextureUsage

A key used to specify the intended usage of the texture.

Specifying Origin Information

MTKTextureLoaderOptionOrigin

A key used to specify when to flip the pixel coordinates of the texture.

MTKTextureLoaderOrigin

Options for specifying when to flip the pixel coordinates of the texture.

Specifying Cube Layout

MTKTextureLoaderOptionCubeLayout

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

MTKTextureLoaderCubeLayout

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

Specifying sRGB Options

MTKTextureLoaderOptionSRGB

A key used to specify whether the texture data is stored as sRGB image data.