origin
A key used to specify when to flip the pixel coordinates of the texture.
Declaration
static let origin: MTKTextureLoader.OptionDiscussion
The value for this key is one of the values listed for MTKTextureLoader.Origin. If you omit this option, the texture loader doesn’t flip loaded textures.
This option cannot be used with block-compressed texture formats, and can be used only with 2D, 2D array, and cube map textures. Each mipmap level and slice of a texture are flipped.