See RaylibCoreDart.GenTextureMipmaps.
void GenTextureMipmaps( Texture texture, ) => _module.GenTextureMipmaps(texture);