GPUBufferDescriptor constructor

GPUBufferDescriptor({
  1. required int size,
  2. required int usage,
  3. bool? mappedAtCreation,
})

Implementation

factory GPUBufferDescriptor(
        {required int size, required int usage, bool? mappedAtCreation}) =>
    GPUBufferDescriptor._(
        size: size,
        usage: usage,
        mappedAtCreation: mappedAtCreation ?? false);