GPUBufferBinding constructor

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

offset must be a multiple of the device's minUniformBufferOffsetAlignment, and size omitted means the rest of the buffer.

Implementation

external factory GPUBufferBinding({GPUBuffer buffer, int offset, int size});