GLTextureBuilder.setHasMipmap

Sets whether the texture has a mipmap. This allows the renderer and other users of the generated texture to use a higher quality downscaling.

Typically, the glGenerateMipmap function is used to generate a mimap.

class GLTextureBuilder
void
setHasMipmap
()

Parameters

hasMipmap bool

Whether the texture has a mipmap