---
title: TextureResource.MipmapsMode.allocateAndGenerateAll
framework: realitykit
role: symbol
role_heading: Case
path: realitykit/textureresource/mipmapsmode/allocateandgenerateall
---

# TextureResource.MipmapsMode.allocateAndGenerateAll

Allocate and generate all mipmaps for the texture resource.

## Declaration

```swift
case allocateAndGenerateAll
```

## See Also

### Specifying allocation and generation

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