Tone Mapping The Scene

In the Babylon inspector, there is a setting on “Scene” for tone mapping, but I am having a hard time understanding how to set it programmatically. Can someone point me in the right direction?

image

It is all available on the imageProcessingConfiguration on scene:

https://playground.babylonjs.com/#YYR1B4

There it is! Thank you!