Generates mipmaps for a texture. This can only be called on a transfer pass, which can be created with
When rendering to textures with a render pass, it's also possible to automatically regenerate mipmaps after rendering by adding the
mipmaps flag when creating the pass.
Pass:mipmap(texture, base, count)
|texture||Texture||The texture to mipmap.|
|base||number||1||The index of the mipmap used to generate the remaining mipmaps.|
|count||number||nil||The number of mipmaps to generate. If nil, generates the remaining mipmaps.|