MetalSurfaceDescriptor constructor

const MetalSurfaceDescriptor({
  1. required LogicalSize logicalSize,
  2. MetalContextDescriptor context = const MetalContextDescriptor(),
  3. required NativePointer layer,
})

Implementation

const MetalSurfaceDescriptor({
  required this.logicalSize,
  this.context = const MetalContextDescriptor(),
  required this.layer,
});