<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/TextureResource/MipmapsMode",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation15TextureResourceC11MipmapsModeO"
  },
  "title" : "TextureResource.MipmapsMode"
}
-->

# TextureResource.MipmapsMode

An enumeration for specifying how to allocate and generate mipmaps for a texture.

```
enum MipmapsMode
```

## Topics

### Specifying allocation and generation

[`case none`](/documentation/RealityKit/TextureResource/MipmapsMode/none)

Do not allocate mipmaps for the texture resource.

[`case allocateAll`](/documentation/RealityKit/TextureResource/MipmapsMode/allocateAll)

Allocate memory for all mipmaps, but don’t generate them.

[`case allocateAndGenerateAll`](/documentation/RealityKit/TextureResource/MipmapsMode/allocateAndGenerateAll)

Allocate and generate all mipmaps for the texture resource.

### Comparing enumeration values

## Relationships

### Conforms To

[`Encodable`](/documentation/Swift/Encodable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Decodable`](/documentation/Swift/Decodable)

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

[`Hashable`](/documentation/Swift/Hashable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)