GPUBufferBinding constructor

GPUBufferBinding({
  1. required GPUBuffer buffer,
  2. int? offset,
  3. int? size,
})

Implementation

factory GPUBufferBinding(
        {required GPUBuffer buffer, int? offset, int? size}) =>
    GPUBufferBinding._(
        buffer: buffer, offset: offset ?? 0, size: size ?? undefined);