setVertexBuffer method

void setVertexBuffer(
  1. int slot,
  2. GPUBuffer buffer, [
  3. int? offset = 0,
  4. int? size,
])

Implementation

void setVertexBuffer(int slot, GPUBuffer buffer,
        [int? offset = 0, int? size]) =>
    js_util.callMethod(this, 'setVertexBuffer', [slot, buffer, offset, size]);