Type Property

textureCPUCacheMode

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

Declaration

static let textureCPUCacheMode: MTKTextureLoader.Option

Discussion

The value for this key is an NSNumber object containing a MTLCPUCacheMode value.

If this key is not specified, the default value is the value associated with MTLCPUCacheMode.defaultCache.

See Also

Specifying Resource Options

static let textureStorageMode: MTKTextureLoader.Option

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

static let textureUsage: MTKTextureLoader.Option

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