objc2_metal_kit

Static MTKTextureLoaderOriginTopLeft

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

Identifier specifying that the texture loader should flip textures whose origin is in the bottom-left corner

The texture will be flipped vertically if metadata in the file being loaded indicates that the source data starts with the bottom-left corner of the texture.

See also Appleā€™s documentation