submit abstract method

Future<bool> submit({
  1. GpuSurfaceFrame? present,
})

Submits everything recorded. When present is given, its texture is published as the surface's image. Completes once the GPU has finished, with false when it reported a failure.

Implementation

Future<bool> submit({GpuSurfaceFrame? present});