BufferView constructor

const BufferView(
  1. Buffer buffer, {
  2. required int offsetInBytes,
  3. required int lengthInBytes,
})

Create a new view into a buffer on the GPU.

Implementation

const BufferView(this.buffer,
    {required this.offsetInBytes, required this.lengthInBytes});