objc2_metal_kit

Static MTKTextureLoaderOriginBottomLeft

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

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

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

See also Appleā€™s documentation