safeDestroyMaterialInstance

fun Engine.safeDestroyMaterialInstance(materialInstance: MaterialInstance): Result<Unit>