objc2_metal_kit

Static MTKTextureLoaderOptionTextureUsage

Source
pub unsafe static MTKTextureLoaderOptionTextureUsage: &'static MTKTextureLoaderOption
Available on crate feature MTKTextureLoader only.
Expand description

Identifier to be used with an NSNumber specifying the MTLTextureUsage flags

The resulting Metal texture will be created with the MTLTextureUsage flags indicated by the NSNumber associated with this string.

See also Appleā€™s documentation