Contents

topLeft

An option for specifying images that should be flipped only to put their origin in the top-left corner.

Declaration

static let topLeft: MTKTextureLoader.Origin

Discussion

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

Specifying Texture Origin Options