textureStorageMode
A key used to specify the storage mode for the texture.
Declaration
static let textureStorageMode: MTKTextureLoader.OptionDiscussion
The value for this key is an NSNumber object containing a MTLStorageMode value.
If this option is omitted, the texture is created with the default storage mode for Metal textures: MTLStorageMode.shared on iOS and tvOS, and MTLStorageMode.managed in macOS. Specifying the MTLStorageMode.private option causes the MTKTextureLoader object to submit work to the GPU on your behalf.