---
title: TextureResource.MipmapsMode
framework: realitykit
role: symbol
role_heading: Enumeration
path: realitykit/textureresource/mipmapsmode
---

# TextureResource.MipmapsMode

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

## Declaration

```swift
enum MipmapsMode
```

## Topics

### Specifying allocation and generation

- [TextureResource.MipmapsMode.none](realitykit/textureresource/mipmapsmode/none.md)
- [TextureResource.MipmapsMode.allocateAll](realitykit/textureresource/mipmapsmode/allocateall.md)
- [TextureResource.MipmapsMode.allocateAndGenerateAll](realitykit/textureresource/mipmapsmode/allocateandgenerateall.md)

## Relationships

### Conforms To

- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Texture resources

- [Generating procedural textures](visionos/generating-procedural-textures-in-visionos.md)
- [Displaying a stereoscopic image](visionos/displaying-a-stereoscopic-image-in-visionos.md)
- [TextureResource](realitykit/textureresource.md)
- [TextureResource.CreateOptions](realitykit/textureresource/createoptions.md)
- [TextureResource.SamplingQuality](realitykit/textureresource/samplingquality.md)
- [TextureResource.Semantic](realitykit/textureresource/semantic-swift.enum.md)
