Encodes a command to generate mipmaps for a texture from the base mipmap level up to the maximum level.
- iOS 8.0+
- macOS 10.11+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
The texture for which to generate mipmaps.
Mipmaps are generated with scaled images for all levels up to the maximum level. The mipmap level count for the texture must be greater than
1. Mipmap generation works only for textures with color-renderable and color-filterable pixel formats.