@JSExport() JSPromise setToneMapping(int mapper) => viewer.setToneMapping(ToneMapper.values[mapper]).toJS;