pub unsafe static MTKTextureLoaderOptionTextureStorageMode: &'static MTKTextureLoaderOption
Available on crate feature
MTKTextureLoader
only.Expand description
Identifier to be used with an NSNumber specifying the MTLStorageMode
The resulting Metal texture will be created with the MTLStorageMode indicated by the NSNumber associated with this string. If this option is omitted, the texture will be created with the default storage mode for Metal textures: MTLStorageModeShared on iOS, and MTLStorageModeManaged on OS X. Specifying this option with MTLTextureStorageModePrivate cause the MTKTextureLoader to submit work to the GPU on behalf of the caller.
See also Appleās documentation