pub unsafe static MTKTextureLoaderOptionOrigin: &'static MTKTextureLoaderOption
Available on crate feature
MTKTextureLoader
only.Expand description
Identifier to be used in an options NSDictionary with an MTKTextureLoaderOrigin NSString specifying whether to flip textures vertically
The NSString value specified with this string must be one option of MTKTextureLoaderOrigin. If this option is omitted, the texture loader will not flip loaded textures. This option cannot be used with block-compressed texture formats, and can only be used with 2D, 2D array, and cube map textures. Each mipmap level and slice of a texture will be flipped.
See also Appleās documentation