destroy

fun destroy()

Frees the provider itself; cached materials survive unless destroyMaterials was called.