---
title: usesMipmaps
framework: spritekit
role: symbol
role_heading: Instance Property
path: spritekit/sktexture/usesmipmaps
---

# usesMipmaps

A Boolean value that indicates whether the texture attempts to generate mipmaps.

## Declaration

```swift
var usesMipmaps: Bool { get set }
```

## Discussion

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.

## See Also

### Configuring a Texture’s Behavior for Scaling

- [filteringMode](spritekit/sktexture/filteringmode.md)
- [SKTextureFilteringMode](spritekit/sktexturefilteringmode.md)
