Pass:mipmap

Generates mipmaps for a texture.

Pass:mipmap(texture, base, count)

Arguments

NameTypeDefaultDescription
textureTexture The texture to mipmap.
basenumber1 The index of the mipmap used to generate the remaining mipmaps.
countnumbernil The number of mipmaps to generate. If nil, generates the remaining mipmaps.

Returns

Nothing

See also