See RaylibCore.UnloadMaterial.
void UnloadMaterial(MaterialC material) => _module.UnloadMaterial(material);