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