Graphics3D constructor

Graphics3D({
  1. GpuDevice? device,
  2. double renderScale = 1.0,
  3. void onUnsupported(
    1. String reason
    )?,
  4. bool? keepEdges,
})

3-D graphics drawn with device, or with the platform's GPU when that is null, at renderScale of the physical resolution.

Implementation

Graphics3D({
  GpuDevice? device,
  this.renderScale = 1.0,
  this.onUnsupported,
  bool? keepEdges,
}) : _device = device,
     keepEdges = keepEdges ?? kDebugMode;