antiAliasingMode property

AntiAliasingMode get antiAliasingMode

Implementation

AntiAliasingMode get antiAliasingMode {
  return _antiAliasingMode;
}
set antiAliasingMode (AntiAliasingMode value)

Implementation

set antiAliasingMode(AntiAliasingMode value) {
  switch (value) {
    case AntiAliasingMode.none:
      break;
    case AntiAliasingMode.msaa:
      if (!gpu.gpuContext.doesSupportOffscreenMSAA) {
        debugPrint("MSAA is not currently supported on this backend.");
        return;
      }
      break;
  }

  _antiAliasingMode = value;
}