See RaylibCoreFlat.GenTextureMipmaps.
void GenTextureMipmaps( StructPointer<Texture> texture, ) => _module.GenTextureMipmaps(texture);