usesMipmaps
A Boolean value that indicates whether the texture attempts to generate mipmaps.
Declaration
var usesMipmaps: Bool { get set }Discussion
The default value is false. If you set this to true, Sprite Kit creates mipmaps for the texture when it prepares the texture for rendering. Mipmaps take up additional memory (usually one-third more) but can improve rendering quality and performance when the texture is reduced in size (such as when you reduce the scale of a sprite rendered using the texture).
You can only request mipmaps if both of the texture’s dimensions are a power of two.