setToneMapping method

  1. @override
Future setToneMapping(
  1. ToneMapper mapper
)
override

Sets the tone mapping (requires postprocessing).

Implementation

@override
Future setToneMapping(ToneMapper mapper) async {
  _module.ccall("set_tone_mapping", "void", ["void*".toJS, "int".toJS].toJS,
      [_viewer!, mapper.index.toJS].toJS, null);
}